summaryrefslogtreecommitdiff
path: root/common/cmd_boot.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-07-24 22:16:20 +0200
committerWolfgang Denk <wd@denx.de>2010-08-09 00:53:57 +0200
commit9ed4a9582ff61225d46241a1c99795549722503c (patch)
tree26d69509babcff8af8f7316fbb8cbe4c04e84606 /common/cmd_boot.c
parent739b8080af30d6de73b13725abe27275dd3b27f6 (diff)
downloadu-boot-imx-9ed4a9582ff61225d46241a1c99795549722503c.zip
u-boot-imx-9ed4a9582ff61225d46241a1c99795549722503c.tar.gz
u-boot-imx-9ed4a9582ff61225d46241a1c99795549722503c.tar.bz2
getenv_f(): fix handling of too short buffers
Fix error handling in getenv_f() when the user provided buffer is too short to hold the variable name; make sure to truncate and NUL-terminate without overwriting the buffer limits. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common/cmd_boot.c')
0 files changed, 0 insertions, 0 deletions