Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 45082 invoked from network); 21 Jan 2008 23:03:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jan 2008 23:03:09 -0000 Received: (qmail 67473 invoked by uid 500); 21 Jan 2008 23:02:59 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 67460 invoked by uid 500); 21 Jan 2008 23:02:59 -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 67449 invoked by uid 99); 21 Jan 2008 23:02:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jan 2008 15:02:59 -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; Mon, 21 Jan 2008 23:02:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 60A16714278 for ; Mon, 21 Jan 2008 15:02:45 -0800 (PST) Message-ID: <15115783.1200956565392.JavaMail.jira@brutus> Date: Mon, 21 Jan 2008 15:02:45 -0800 (PST) From: "Bill Mitchell (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Created: (AXIS2C-927) axiom_element_declare_default_namespace fails when no namespace already declared MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org axiom_element_declare_default_namespace fails when no namespace already declared -------------------------------------------------------------------------------- Key: AXIS2C-927 URL: https://issues.apache.org/jira/browse/AXIS2C-927 Project: Axis2-C Issue Type: Bug Environment: Windows XP, Visual Studio 2005, guththila, libcurl Reporter: Bill Mitchell If axiom_element_declare_default_namespace() is called before any named namespace is declared, it fails to perform the axutil_hash_make and as a result axutil_hash_set crashes on the empty namespace pointer. The code fragment: if (om_element->namespaces) { om_element->namespaces = axutil_hash_make(env); if (!(om_element->namespaces)) { return NULL; } } should read: if (!om_element->namespaces) { om_element->namespaces = axutil_hash_make(env); if (!(om_element->namespaces)) { return NULL; } } -- 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