summaryrefslogtreecommitdiff
path: root/include/linux/stringify.h
diff options
context:
space:
mode:
authorGerlando Falauto <[email protected]>2012-10-05 00:46:10 +0000
committerTom Rini <[email protected]>2012-10-05 11:07:42 -0700
commit7ac80551c447a3637b00bb1e2ad610e8bd13a570 (patch)
tree4c0d152e5afa8eb5764b2ae86d107dcc2f4aaa0e /include/linux/stringify.h
parent961c437b6cd68375d66c1f0cac9ade63115c0750 (diff)
env: fix crash using default -f -a
env default -a -f calls env_check_apply on all existing environment variables with a NULL value for "newval" as a way of cleaning up. This causes string manipulation functions to crash on most architectures. So replace a NULL argument with an empty string. Reported-By: Stefano Babic <[email protected]> Signed-off-by: Gerlando Falauto <[email protected]> Tested-by: Stefano Babic <[email protected]>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions