summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strerror_r.c
diff options
context:
space:
mode:
authortom <>2005-05-01 19:39:02 +0000
committertom <>2005-05-01 19:39:02 +0000
commitf2208352d509aa0b6dc4dc9c4f5c42c77bbf5087 (patch)
treeb14ed3be20e3986c0756c5726c76f78cc0a30a0c /src/lib/libc/string/strerror_r.c
parentb9eaa570507dab5c979060383d2003ccb5242f91 (diff)
downloadopenbsd-f2208352d509aa0b6dc4dc9c4f5c42c77bbf5087.tar.gz
openbsd-f2208352d509aa0b6dc4dc9c4f5c42c77bbf5087.tar.bz2
openbsd-f2208352d509aa0b6dc4dc9c4f5c42c77bbf5087.zip
Tidy up __strtosignal(): pass a buffer and length to its itoa() and
make sure we can't underrun this buffer. Also force NUL-termination of this buffer, and ensure that large unsigned integers are printed correctly. Started by a diff from Dave Hines, openbsd (at) dph (dot) fluff (dot) org; thanks. with and ok otto@
Diffstat (limited to 'src/lib/libc/string/strerror_r.c')
0 files changed, 0 insertions, 0 deletions