summaryrefslogtreecommitdiff
path: root/lib/linux_compat.c
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2014-12-15 10:34:10 +0100
committerLukasz Majewski <l.majewski@samsung.com>2014-12-18 12:26:06 +0100
commit62a96d805f6f212250f5590d6afadf3645837f36 (patch)
treecab2a3b4b0b89c888463cc99747b098ef7392348 /lib/linux_compat.c
parent7da6fa27168c468e58814d54fe3f66109036ec2e (diff)
downloadu-boot-imx-62a96d805f6f212250f5590d6afadf3645837f36.zip
u-boot-imx-62a96d805f6f212250f5590d6afadf3645837f36.tar.gz
u-boot-imx-62a96d805f6f212250f5590d6afadf3645837f36.tar.bz2
gadget: f_thor: check pointers before use in download_tail()
Some pointers in function download_tail() were not checked before the use. This could possibly cause the data abort. To avoid this, check if the pointers are not null is added. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Tested-by: Lukasz Majewski <l.majewski@samsung.com> [TestHW: Exynos4412-Trats2]
Diffstat (limited to 'lib/linux_compat.c')
0 files changed, 0 insertions, 0 deletions