httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23247] New: - config parser segfaults on Include error
Date Thu, 18 Sep 2003 14:12:40 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23247>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23247

config parser segfaults on Include error

           Summary: config parser segfaults on Include error
           Product: Apache httpd-2.0
           Version: 2.0.40
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Runtime Config
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: seb.bacon@jamkit.com


I got a segfault when I forgot to close a <VirtualHost> in a config file inside
an Included directory.  To reproduce:

 - in httpd.conf: Include /tmp/segfault/*conf
 - in /tmp/segfault/vhost.conf, nothing but:

    <VirtualHost>

 - # /usr/sbin/httpd
   Segmentation fault

It took me about an hour of stracing and core dump picking to notice that in
fact it was such a simple error ;-)

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message