Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 78033 invoked from network); 11 Jan 2011 16:54:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Jan 2011 16:54:11 -0000 Received: (qmail 55865 invoked by uid 500); 11 Jan 2011 16:54:11 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 55770 invoked by uid 500); 11 Jan 2011 16:54:09 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 55761 invoked by uid 99); 11 Jan 2011 16:54:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jan 2011 16:54:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jan 2011 16:54:08 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0BGrmbH008018 for ; Tue, 11 Jan 2011 16:53:48 GMT Message-ID: <11194972.285521294764828709.JavaMail.jira@thor> Date: Tue, 11 Jan 2011 11:53:48 -0500 (EST) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Subject: [jira] Closed: (AMQCPP-339) Erroneous validation of IP address In-Reply-To: <6403948.285041294763870741.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQCPP-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish closed AMQCPP-339. ------------------------------- Resolution: Duplicate > 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.