If the pointer passed into envmatch() is NULL, return -1 instead of
crashing.
Signed-off-by: Joe Hershberger joe.hershber...@ni.com
---
common/cmd_nvedit.c | 3 +++
tools/env/fw_env.c | 2 ++
2 files changed, 5 insertions(+)
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index
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
signature.asc
Description: This is a digitally signed message part.
___
U-Boot
2 matches
Mail list logo