summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
authormillert <>2002-06-26 06:03:31 +0000
committermillert <>2002-06-26 06:03:31 +0000
commitb88d7a5cb2b7d6387d1028751a707f2097b0269c (patch)
treee7eda0368471d0c1dc979139a81e28a49589c79d /src/lib/libc/stdlib
parent62efc4ddcbdcc8c9f4f29b7b5ae76aa66f0b96e2 (diff)
downloadopenbsd-b88d7a5cb2b7d6387d1028751a707f2097b0269c.tar.gz
openbsd-b88d7a5cb2b7d6387d1028751a707f2097b0269c.tar.bz2
openbsd-b88d7a5cb2b7d6387d1028751a707f2097b0269c.zip
avoid remote buffer overrun on hostbuf[]. From: Joost Pol <joost@pine.nl>
correct bad practice in the code - it uses two changing variables to manage buffer (buf and buflen). we eliminate buflen and use fixed point (ep) as the ending pointer. From: itojun this fix is critical.
Diffstat (limited to 'src/lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions