summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
authormillert <>2010-06-02 12:58:12 +0000
committermillert <>2010-06-02 12:58:12 +0000
commitd2be431e6efb5972fbc155378f57e212e5e0bba6 (patch)
treec03791883d555a70beaa5db06d879a58baf62eaa /src/lib/libc/stdlib
parent6621ed750fd9faa380d866af1ebae632e05a23e1 (diff)
downloadopenbsd-d2be431e6efb5972fbc155378f57e212e5e0bba6.tar.gz
openbsd-d2be431e6efb5972fbc155378f57e212e5e0bba6.tar.bz2
openbsd-d2be431e6efb5972fbc155378f57e212e5e0bba6.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')
0 files changed, 0 insertions, 0 deletions