pgsql: Fix validation of overly-long IPv6 addresses.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix validation of overly-long IPv6 addresses.
Дата
Msg-id E1bDefB-0003Jc-FD@gemulon.postgresql.org
обсуждение исходный текст
Список 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_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2a8b5d2105fdb7d34b4a5911e6a4f5a39defac3f

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix validation of overly-long IPv6 addresses.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix validation of overly-long IPv6 addresses.