about summary refs log tree commit diff
path: root/src/malloc
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-03-23 09:44:18 -0400
committerRich Felker <dalias@aerifal.cx>2015-03-23 09:44:18 -0400
commitfc13acc3dcb5b1f215c007f583a63551f6a71363 (patch)
tree016f147c6e6df4d486567fdaddb572e0e31cc0e0 /src/malloc
parent7c8c86f6308c7e0816b9638465a5917b12159e8f (diff)
downloadmusl-fc13acc3dcb5b1f215c007f583a63551f6a71363.tar.gz
musl-fc13acc3dcb5b1f215c007f583a63551f6a71363.tar.xz
musl-fc13acc3dcb5b1f215c007f583a63551f6a71363.zip
fix internal buffer overrun in inet_pton
one stop condition for parsing abbreviated ipv6 addressed was missed,
allowing the internal ip[] buffer to overflow. this patch adds the
missing stop condition and masks the array index so that, in case
there are any remaining stop conditions missing, overflowing the
buffer is not possible.
Diffstat (limited to 'src/malloc')
0 files changed, 0 insertions, 0 deletions