summaryrefslogtreecommitdiff
path: root/common/cmd_fdos.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2006-10-28 01:14:32 +0200
committerWolfgang Denk <wd@denx.de>2006-10-28 01:14:32 +0200
commit471a7be7a042e95e440f5de969c9765214ae8d6e (patch)
tree328c7850f1499ddb2758b7407c1096a8ec62899b /common/cmd_fdos.c
parent19973b6ad9863a56f5c5fbcfd90e20ab2490a2c2 (diff)
downloadu-boot-imx-471a7be7a042e95e440f5de969c9765214ae8d6e.zip
u-boot-imx-471a7be7a042e95e440f5de969c9765214ae8d6e.tar.gz
u-boot-imx-471a7be7a042e95e440f5de969c9765214ae8d6e.tar.bz2
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=".
Diffstat (limited to 'common/cmd_fdos.c')
0 files changed, 0 insertions, 0 deletions