pgsql: Fix validation of overly-long IPv6 addresses. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix validation of overly-long IPv6 addresses.
Date
Msg-id E1bDefB-0003Ja-F0@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix validation of overly-long IPv6 addresses.

The inet/cidr types sometimes failed to reject IPv6 inputs with too many
colon-separated fields, instead translating them to '::/0'.  This is the
result of a thinko in the original ISC code that seems to be as yet
unreported elsewhere.  Per bug #14198 from Stefan Kaltenbrunner.

Report: <20160616182222.5798.959@wrigleys.postgresql.org>

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/a41b14f94a44c1738356719f46b330372228ee4e

Modified Files
--------------
src/backend/utils/adt/inet_net_pton.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix validation of overly-long IPv6 addresses.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix validation of overly-long IPv6 addresses.