hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCLIENT-1319) InetAddressUtils.isIPv6HexCompressedAddress does not detect excess groups
Date Thu, 04 Apr 2013 13:57:17 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb resolved HTTPCLIENT-1319.
------------------------------

    Resolution: Fixed
    
> InetAddressUtils.isIPv6HexCompressedAddress does not detect excess groups
> -------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1319
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1319
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>    Affects Versions: 4.2.3, 4.3 Alpha1
>            Reporter: Sebb
>            Priority: Minor
>             Fix For: 4.2.4, 4.3 Final
>
>
> The IPV6 compressed format regex allows 0-6 hex groups before and after the ::.
> This does not detect too many groups (there should be at most 7 surrounding groups in
total).
> It also allows no groups, i.e "::" which is not permitted AFAIK. [Edit: this is allowed,
see http://tools.ietf.org/html/rfc4291#section-2.2]
> The first issue could be detected by counting the number of ':' characters in the string.

> There should be no more than 7 colons.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message