Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 79596 invoked from network); 22 May 2008 00:02:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 May 2008 00:02:20 -0000 Received: (qmail 61626 invoked by uid 500); 22 May 2008 00:02:21 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 61445 invoked by uid 500); 22 May 2008 00:02:21 -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 61434 invoked by uid 99); 22 May 2008 00:02:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2008 17:02:21 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 May 2008 00:01:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6E06C234C127 for ; Wed, 21 May 2008 17:01:56 -0700 (PDT) Message-ID: <1542075450.1211414516449.JavaMail.jira@brutus> Date: Wed, 21 May 2008 17:01:56 -0700 (PDT) From: "nadir amra (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Updated: (AXISCPP-835) Server crashes when "WSDDFilePath" entry is missing from conf file In-Reply-To: <1032099531.1127846448366.JavaMail.jira@ajax.apache.org> 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/AXISCPP-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] nadir amra updated AXISCPP-835: ------------------------------- Component/s: Server - Engine > Server crashes when "WSDDFilePath" entry is missing from conf file > ------------------------------------------------------------------ > > Key: AXISCPP-835 > URL: https://issues.apache.org/jira/browse/AXISCPP-835 > Project: Axis-C++ > Issue Type: Bug > Components: Server - Engine > Reporter: Henrik Nordberg > > If "WSDDFilePath" is missing from the axiscpp.conf file, > char* AxisConfig::getAxisConfProperty (g_axconfig property) > { > if (0 == m_pcValueArray[property].length()) return NULL; > return (char*)(m_pcValueArray[property].c_str()); > } > returns NULL, which is passed to the ctor of a std::string and thus crashes the server. It would make more sense to log an error and exit, or to log a warning and check if there is a server.wsdd file in the current or default directories. -- 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