[U-Boot] [U-Boot, 1/1] atcspi200: avoid possible NULL dereference
Tom Rini
trini at konsulko.com
Thu Feb 8 12:27:08 UTC 2018
On Wed, Jan 31, 2018 at 01:05:54AM +0100, Heinrich Schuchardt wrote:
> Check if ns before and not after dereferencing it.
>
> Indicated by cppcheck.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
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/20180208/286e7fe5/attachment.sig>
More information about the U-Boot
mailing list