• Tom Lane's avatar
    Fix validation of overly-long IPv6 addresses. · 4c56f326
    Tom Lane authored
    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>
    4c56f326
inet_net_pton.c 12 KB