[U-Boot] [PATCH] common/lcd: add protection from null bmp pointer

Jeroen Hofstee dasuboot at myspectrum.nl
Fri Aug 17 20:13:37 CEST 2012


Hello Nikita,

On 08/16/2012 12:43 PM, Nikita Kiryanov wrote:
> If the bmp pointer is null (for example because the environment
> variable "splashimage" was not defined) then U-Boot will get stuck
> when trying to load the image.
Which branch is this? At [1] there is a check for this..

1600         s = getenv("splashimage");
1601         if (s != NULL) {
...

Regards,
Jeroen

[1] 
http://git.denx.de/?p=u-boot.git;a=blob;f=drivers/video/cfb_console.c;h=19d061f6cbec31615c3193f59a27895f203e959f;hb=HEAD



More information about the U-Boot mailing list