[U-Boot] [PATCH 08/12] env: Check for NULL pointer in envmatch()

Mike Frysinger vapier at gentoo.org
Sat Aug 18 01:51:33 CEST 2012


On Friday 17 August 2012 16:49:42 Joe Hershberger wrote:
> If the pointer passed into envmatch() is NULL, return -1 instead of
> crashing.

so don't pass in NULL ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120817/96547e5e/attachment.pgp>


More information about the U-Boot mailing list