diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-06-23 22:51:00 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-06-23 22:51:06 +0200 |
commit | 9a0cc8c1bd7645bf3c988890ffb59639c07a5812 (patch) | |
tree | 8de136777f54b60d406e5fcd5f64889c2e5949ea /ChangeLog | |
parent | fa872e1b6210e81e60d6029429f0a083b8eab26e (diff) | |
download | glibc-9a0cc8c1bd7645bf3c988890ffb59639c07a5812.tar.gz glibc-9a0cc8c1bd7645bf3c988890ffb59639c07a5812.tar.xz glibc-9a0cc8c1bd7645bf3c988890ffb59639c07a5812.zip |
inet_pton: Reject IPv6 addresses with many leading zeros [BZ #16637]
2001:db8:00001::f is not a valid IPv6 address according to RFC 2373.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 9b055b421e..accdd06e1d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2017-06-23 Florian Weimer <fweimer@redhat.com> + + [BZ #16637] + inet_pton: Reject invalid IPv6 addresses with many leading zeros. + * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal + digits between colons. + * resolv/tst-inet_pton.c (test_cases): Adjust test expectations. + 2017-05-23 Adhemerval Zanella <adhemerval.zanella@linaro.org> Juan Manuel Torres Palma <jmtorrespalma@gmail.com> |