[U-Boot] [PATCH] env: fix crash using default -f -a
Tom Rini
trini at ti.com
Sat Oct 6 00:26:31 CEST 2012
On Fri, Oct 05, 2012 at 12:46:10PM +0200, Gerlando Falauto wrote:
> 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 at denx.de>
> Signed-off-by: Gerlando Falauto <gerlando.falauto at keymile.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121005/9919bbd3/attachment.pgp>
More information about the U-Boot
mailing list