diff options
| author | millert <> | 2010-06-02 12:58:12 +0000 |
|---|---|---|
| committer | millert <> | 2010-06-02 12:58:12 +0000 |
| commit | d2be431e6efb5972fbc155378f57e212e5e0bba6 (patch) | |
| tree | c03791883d555a70beaa5db06d879a58baf62eaa /src/lib/libc/stdlib/getopt_long.c | |
| parent | 6621ed750fd9faa380d866af1ebae632e05a23e1 (diff) | |
| download | openbsd-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/getopt_long.c')
0 files changed, 0 insertions, 0 deletions
