Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1629

some code maybe cause segment fault

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • core/transport
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            icycode hailong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment