Server crashes when "WSDDFilePath" entry is missing from conf file
------------------------------------------------------------------

         Key: AXISCPP-835
         URL: http://issues.apache.org/jira/browse/AXISCPP-835
     Project: Axis-C++
        Type: Bug
    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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to