You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "andrzej k. (JIRA)" <ji...@apache.org> on 2011/01/11 17:37:49 UTC

[jira] Created: (AMQCPP-338) Erroneous validation of IP address

Erroneous validation of IP address
----------------------------------

                 Key: AMQCPP-338
                 URL: https://issues.apache.org/jira/browse/AMQCPP-338
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: Decaf
    Affects Versions: 3.0.1
         Environment: any
            Reporter: andrzej k.
            Assignee: Timothy Bish


in file URIHelper.cpp, in function URIHelper::isValidIPv4Address, member function substr of std::string is used incorrectly. It is fed with two indexes, whereas it should be fed with an index and length. As a consequence valid IP addresses do not pass the validation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (AMQCPP-338) Erroneous validation of IP address

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQCPP-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish closed AMQCPP-338.
-------------------------------

    Resolution: Duplicate

This issue was addressed in later releases, please try the current v3.2.4 release.

> Erroneous validation of IP address
> ----------------------------------
>
>                 Key: AMQCPP-338
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-338
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Decaf
>    Affects Versions: 3.0.1
>         Environment: any
>            Reporter: andrzej k.
>            Assignee: Timothy Bish
>
> in file URIHelper.cpp, in function URIHelper::isValidIPv4Address, member function substr of std::string is used incorrectly. It is fed with two indexes, whereas it should be fed with an index and length. As a consequence valid IP addresses do not pass the validation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.