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

2012-09-21 Thread Anatolij Gustschin
Hi, On Mon, 20 Aug 2012 08:32:30 +0300 Nikita Kiryanov wrote: > If the bmp pointer is null then U-Boot will get stuck when trying > to load the image. > What's worse, it will get stuck before the U-Boot shell becomes > available to the user, thus making it difficult to correct the > situation. >

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

2012-08-19 Thread Nikita Kiryanov
If the bmp pointer is null then U-Boot will get stuck when trying to load the image. What's worse, it will get stuck before the U-Boot shell becomes available to the user, thus making it difficult to correct the situation. To protect from the above scenario, check if the pointer is valid. Signed-