Gerlando Falauto 7ac80551c4 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 <sbabic@denx.de>
Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com>
Tested-by: Stefano Babic <sbabic@denx.de>
2012-10-05 11:07:42 -07:00
..
2012-10-01 10:02:14 -07:00
2012-10-03 16:01:22 -07:00
2011-10-22 01:22:21 +02:00
2012-08-09 23:47:43 +02:00
2012-09-29 10:00:29 -07:00
2011-07-28 16:41:06 +02:00
2012-09-05 17:32:42 -05:00
2012-09-27 12:22:11 -05:00
2012-03-27 22:05:28 +02:00
2011-07-28 17:22:53 +02:00
2011-10-22 01:13:35 +02:00
2012-08-09 23:39:18 +02:00
2012-09-29 07:26:09 -07:00
2012-10-01 10:02:14 -07:00
2012-09-26 11:08:32 -07:00
2011-12-07 08:41:22 +01:00
2011-10-22 01:13:35 +02:00
2012-10-04 16:46:18 +02:00
2011-09-04 23:27:52 +02:00
2011-10-26 21:33:42 +02:00
2012-09-21 00:05:00 +02:00