You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "hailong (JIRA)" <ji...@apache.org> on 2013/03/08 17:32:13 UTC

[jira] [Created] (AXIS2C-1629) some code maybe cause segment fault

hailong created AXIS2C-1629:
-------------------------------

             Summary: some code maybe cause segment fault 
                 Key: AXIS2C-1629
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1629
             Project: Axis2-C
          Issue Type: Bug
          Components: core/transport
    Affects Versions: 1.6.0
            Reporter: hailong
            Priority: Minor


http_server_main.c

line 276

/**
 * Signal handler
 */
void
sig_handler(
    int signal)
{

    if(!system_env)
    {
        AXIS2_LOG_ERROR(
            system_env->log,
            AXIS2_LOG_SI,
            "Received signal %d, unable to proceed system_env is NULL ,\
                         system exit with -1",
            signal);
        _exit(-1);
    }

//////////////////////////////////////////////////////////////////////////////////////////////////////////////

if  system_env is null, then use system_env->log ?????

Although it is generally not the case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org