diff options
author | tom <> | 2005-05-01 19:39:02 +0000 |
---|---|---|
committer | tom <> | 2005-05-01 19:39:02 +0000 |
commit | f2208352d509aa0b6dc4dc9c4f5c42c77bbf5087 (patch) | |
tree | b14ed3be20e3986c0756c5726c76f78cc0a30a0c /src/lib/libc/string/strerror_r.c | |
parent | b9eaa570507dab5c979060383d2003ccb5242f91 (diff) | |
download | openbsd-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