diff options
author | millert <> | 2010-06-02 12:58:12 +0000 |
---|---|---|
committer | millert <> | 2010-06-02 12:58:12 +0000 |
commit | 718f25c6853b9204ccdaaa6947c90c056989f2bd (patch) | |
tree | c03791883d555a70beaa5db06d879a58baf62eaa /src/lib/libc/stdlib/setenv.c | |
parent | 9743c2689178c056bcbd01ce76a31f5de0e87e01 (diff) | |
download | openbsd-718f25c6853b9204ccdaaa6947c90c056989f2bd.tar.gz openbsd-718f25c6853b9204ccdaaa6947c90c056989f2bd.tar.bz2 openbsd-718f25c6853b9204ccdaaa6947c90c056989f2bd.zip |
Avoid using and end pointer since strnlen(string, -1) is legal
and would otherwise result in overflowing the end pointer and
cause strnlen() to return 0. OK sthen@
Diffstat (limited to 'src/lib/libc/stdlib/setenv.c')
0 files changed, 0 insertions, 0 deletions