Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 27095 invoked from network); 7 Dec 2007 14:27:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2007 14:27:23 -0000 Received: (qmail 28822 invoked by uid 500); 7 Dec 2007 14:27:11 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 28808 invoked by uid 500); 7 Dec 2007 14:27:11 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 28797 invoked by uid 99); 7 Dec 2007 14:27:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 06:27:11 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 14:27:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1ABA0714246 for ; Fri, 7 Dec 2007 06:26:46 -0800 (PST) Message-ID: <479267.1197037606107.JavaMail.jira@brutus> Date: Fri, 7 Dec 2007 06:26:46 -0800 (PST) From: "Lahiru Gunathilake (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Commented: (AXIS2C-812) guththila parser fails attempting to deallocate unallocated cell if xml message contains more than one namespace In-Reply-To: <8664506.1196969983309.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549417 ] Lahiru Gunathilake commented on AXIS2C-812: ------------------------------------------- yeah, that's true i checked with the patch and it doesn't cause any memory leak and solve the problem. And i checked the performance as well. Regs lahiru > guththila parser fails attempting to deallocate unallocated cell if xml message contains more than one namespace > ---------------------------------------------------------------------------------------------------------------- > > Key: AXIS2C-812 > URL: https://issues.apache.org/jira/browse/AXIS2C-812 > Project: Axis2-C > Issue Type: Bug > Components: guththila > Affects Versions: Current (Nightly) > Environment: Windows, Visual Studio 2005, guththila validating parser > Reporter: Bill Mitchell > Attachments: guththila_xml_parser_diff > > > The guththila validating parser fails attempting to deallocate an unallocated cell if the xml message constains more than one namespace. The issue is that the validating parser allocates one cell of memory to hold an array of namespaces, but that the code that frees the namespaces believes that each array element is a separate cell. Thus, if the array contains more than one element, the free of the second element fails. > One can see the problem when parsing a SOAP response message identifying two namespaces, e.g., one that begins: > > - > - > ... > This appears to be a problem introduced as part of fix AXIS2C-785 since 1.1.0 in the development branch; in 1.1.0 the array was not freed at all. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org