inet_pton: Reject IPv6 addresses with many leading zeros [BZ #16637]
commit9a0cc8c1bd7645bf3c988890ffb59639c07a5812
authorFlorian Weimer <fweimer@redhat.com>
Fri, 23 Jun 2017 20:51:00 +0000 (23 22:51 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 23 Jun 2017 20:51:06 +0000 (23 22:51 +0200)
tree8de136777f54b60d406e5fcd5f64889c2e5949ea
parentfa872e1b6210e81e60d6029429f0a083b8eab26e
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.
ChangeLog
resolv/inet_pton.c
resolv/tst-inet_pton.c