From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeroen Hofstee Date: Fri, 17 Aug 2012 20:13:37 +0200 Subject: [U-Boot] [PATCH] common/lcd: add protection from null bmp pointer In-Reply-To: <1345113809-7871-1-git-send-email-nikita@compulab.co.il> References: <1345113809-7871-1-git-send-email-nikita@compulab.co.il> Message-ID: <502E89D1.1070205@myspectrum.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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