summaryrefslogtreecommitdiff
path: root/libc/inet/ntop.c
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2002-09-17 01:40:47 +0000
committerDavid McCullough <davidm@snapgear.com>2002-09-17 01:40:47 +0000
commitbc31d1c7241bb037c6fa4ca0563afe22e99894c0 (patch)
tree9628cc4e33f49e5d003993b0abcd718deb2d72eb /libc/inet/ntop.c
parent032f59d2a95d46aa0942c4e0ee52757a5f33ed26 (diff)
Fix a memory corruption bug.
With gcc, sizeof on a sized array argument to a function returns 4, not 16 as was expected in this code. This caused inet_ntoa to overwrite whatever came before the buffer in the BSS by up to 12 bytes.
Diffstat (limited to 'libc/inet/ntop.c')
0 files changed, 0 insertions, 0 deletions