-
Wolfgang Denk authored
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>
Wolfgang Denk authoredFix 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>