pgsql: Fix validation of overly-long IPv6 addresses.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix validation of overly-long IPv6 addresses.
Date: 2016-06-16 21:17:21
Message-ID: E1bDefB-0003Je-FN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)5798(dot)959(at)wrigleys(dot)postgresql(dot)org>

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/519445ba26848b7c88572b2b614b104dccb3153a

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

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-06-16 22:10:37 Re: [COMMITTERS] pgsql: Update pg_stat_statements extension for parallel query.
Previous Message Vik Fearing 2016-06-16 20:51:33 Re: pgsql: Update pg_stat_statements extension for parallel query.