summaryrefslogtreecommitdiff
path: root/libc/misc/file/Makefile
diff options
context:
space:
mode:
authorXishi Qiu <qiuxishi@huawei.com>2014-11-04 19:26:28 +0800
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-01-23 20:59:27 +0100
commit217f0a86c07beae6a27d422b5f46ee853f3a447a (patch)
treedd320393d0004787a6c530493f1af43441c1bdff /libc/misc/file/Makefile
parenta952a1dd2bba69da4c52a111600f4279aadc3602 (diff)
add argument check in setenv()
setenv() in glibc/eglibc will check the argument, like this, ... if (name == NULL || *name == '\0' || strchr (name, '=') != NULL) { __set_errno (EINVAL); return -1; } ... So add argument check in uclibc's setenv() too. Signed-off-by: Xishi Qiu <qiuxishi@huawei.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/misc/file/Makefile')
0 files changed, 0 insertions, 0 deletions