diff options
author | David McCullough <davidm@snapgear.com> | 2002-09-17 01:40:47 +0000 |
---|---|---|
committer | David McCullough <davidm@snapgear.com> | 2002-09-17 01:40:47 +0000 |
commit | bc31d1c7241bb037c6fa4ca0563afe22e99894c0 (patch) | |
tree | 9628cc4e33f49e5d003993b0abcd718deb2d72eb /libm/w_sqrtf.c | |
parent | 032f59d2a95d46aa0942c4e0ee52757a5f33ed26 (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 'libm/w_sqrtf.c')
0 files changed, 0 insertions, 0 deletions