]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Check for illegal character '=' in environment variable names.
authorWolfgang Denk <wd@denx.de>
Fri, 27 Oct 2006 23:14:32 +0000 (01:14 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 27 Oct 2006 23:14:32 +0000 (01:14 +0200)
commit471a7be7a042e95e440f5de969c9765214ae8d6e
tree328c7850f1499ddb2758b7407c1096a8ec62899b
parent19973b6ad9863a56f5c5fbcfd90e20ab2490a2c2
Check for illegal character '=' in environment variable names.

Make sure the string passed as variable name does not contain a '='
character. This not only prevents the common error or typing
"setenv foo=bar" instead of "setenv foo bar", but (more importantly)
also closes a backdoor which allowed to delete write-protected
environment variables, for example by using "setenv ethaddr=".
common/cmd_nvedit.c