axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nadir amra (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Updated: (AXISCPP-835) Server crashes when "WSDDFilePath" entry is missing from conf file
Date Thu, 22 May 2008 00:01:56 GMT

     [ 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


Mime
View raw message