[U-Boot] [PATCH 1/1] lcd: avoid possible NULL dereference
Anatolij Gustschin
agust at denx.de
Sat Aug 19 18:51:24 UTC 2017
Hi,
On Sun, 30 Jul 2017 21:59:23 +0200
Heinrich Schuchardt xypron.glpk at gmx.de wrote:
> Do not dereference bmp before the check if it is NULL.
>
> The problem was indicated by cppcheck.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> common/lcd.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Applied to u-boot-video/master, thanks!
--
Anatolij
More information about the U-Boot
mailing list