[U-Boot] rsa: check that pointer checksum isn't NULL before using it

Tom Rini trini at konsulko.com
Mon Mar 25 21:28:09 UTC 2019


On Tue, Mar 19, 2019 at 10:55:40AM +0100, Philippe Reynes wrote:

> The pointer checksum were used before checking that it
> isn't NULL. We move the code that use it after the check.
> 
> Reported-by: Coverity (CID: 185835)
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190325/934180bb/attachment.sig>


More information about the U-Boot mailing list