diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-03-23 09:44:18 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-03-30 02:18:42 -0400 |
commit | f0a5b139ef357858f06d70c7aac9bbe590114849 (patch) | |
tree | a1e46e704de2d1ca20cd284f8847295a6ee79497 /COPYRIGHT | |
parent | ee6f8114dfc02709f5df7f19bff0d774aef50fce (diff) | |
download | musl-f0a5b139ef357858f06d70c7aac9bbe590114849.tar.gz musl-f0a5b139ef357858f06d70c7aac9bbe590114849.tar.xz musl-f0a5b139ef357858f06d70c7aac9bbe590114849.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. (cherry picked from commit fc13acc3dcb5b1f215c007f583a63551f6a71363)
Diffstat (limited to 'COPYRIGHT')
0 files changed, 0 insertions, 0 deletions