commit | 5c540b2b812d4ee59e86b5fbc232192a175f5b9f | [log] [tgz] |
---|---|---|
author | Nikita Kiryanov <nikita@compulab.co.il> | Sun Aug 19 19:32:30 2012 +0000 |
committer | Anatolij Gustschin <agust@denx.de> | Fri Sep 21 23:41:56 2012 +0200 |
tree | a1172dba5c830358ac395235f76605c4c836a65d | |
parent | b457118362444fcccd6d059fa98a283f4e012458 [diff] |
common/lcd: add protection from null bmp pointer 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-off-by: Nikita Kiryanov <nikita@compulab.co.il>