summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authormpf <mpf@openbsd.org>2009-12-15 21:09:43 +0000
committermpf <mpf@openbsd.org>2009-12-15 21:09:43 +0000
commit78b20a688696d3aeed47cc4995bbc17c8afa72a8 (patch)
treeae6905d28704edd8eef6cd4e51601e8a429ba25b /lib/libc/stdlib/malloc.c
parent- instead of rolling a macro that is functional equivalent to nitems(), (diff)
downloadwireguard-openbsd-78b20a688696d3aeed47cc4995bbc17c8afa72a8.tar.xz
wireguard-openbsd-78b20a688696d3aeed47cc4995bbc17c8afa72a8.zip
Let ping handle truncated echo replies.
Instead of a false data mismatch report, we now print (TRUNC!). This also fixes two out of bounds accesses. The "wrong data byte #XXX" counter was also wrong and off by 8 bytes. OK djm@ on an earlier version, OK deraadt@.
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions