activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "andrzej k. (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQCPP-339) Erroneous validation of IP address
Date Tue, 11 Jan 2011 16:37:50 GMT
Erroneous validation of IP address
----------------------------------

                 Key: AMQCPP-339
                 URL: https://issues.apache.org/jira/browse/AMQCPP-339
             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.


Mime
View raw message