From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Fri, 21 Sep 2012 23:47:00 +0200 Subject: [U-Boot] [PATCH V2] common/lcd: add protection from null bmp pointer In-Reply-To: <1345440750-15185-1-git-send-email-nikita@compulab.co.il> References: <1345440750-15185-1-git-send-email-nikita@compulab.co.il> Message-ID: <20120921234700.7bd1df00@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. > > To protect from the above scenario, check if the pointer is valid. > > Signed-off-by: Nikita Kiryanov > --- > This patch depends on the following patch: > patchwork.ozlabs.org/patch/176058/ > Changes in V2: > - Previous commit message gave an incorrect example of when bmp pointer > could be null, and was therefore removed. > common/lcd.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Applied to video/master. I'm sorry for long delay. Thanks, Anatolij