diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-10-03 09:38:50 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-15 11:54:05 -0700 |
commit | 586197dfe42ffda777205b02fe404107eb7d974a (patch) | |
tree | f7f06afcf49dac5dec0f5d33e4be48d3ab8e768a /include/lh7a404.h | |
parent | e4a223f04de2e271682f26d7b981c0012f6a459f (diff) | |
download | u-boot-imx-586197dfe42ffda777205b02fe404107eb7d974a.zip u-boot-imx-586197dfe42ffda777205b02fe404107eb7d974a.tar.gz u-boot-imx-586197dfe42ffda777205b02fe404107eb7d974a.tar.bz2 |
env: Check for NULL pointer in envmatch()
If the pointer passed into envmatch() is NULL, return -1 instead of
crashing.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/lh7a404.h')
0 files changed, 0 insertions, 0 deletions