DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29503>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29503

httpd segfault due to bad config file error handling

           Summary: httpd segfault due to bad config file error handling
           Product: Apache httpd-2.0
           Version: 2.0.49
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


httpd 2.0.49 will segfault if you do not specify a Listen directive in the 
configuration file.  in previous versions there was a nice error message that 
warned you of this and then exited.  the segfault occurs in the 
function "ap_listen_open" in server/listen.c, line 338.  If there is no listen 
statement in the config file, then ap_listen_open tries to walk thru the linked 
list of listeners anyways.  please add error handling for the case that this 
directive isnt specified and add an assert to the function or change line 338 
to "if (ap_listeners && ap_listeners->next) {"

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to