Bug 23247 - config parser segfaults on Include error
Summary: config parser segfaults on Include error
Status: CLOSED DUPLICATE of bug 17093
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Runtime Config (show other bugs)
Version: 2.0.40
Hardware: PC other
: P3 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-18 14:12 UTC by bigmouth
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bigmouth 2003-09-18 14:12:39 UTC
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 ;-)
Comment 1 André Malo 2003-09-18 14:24:17 UTC
An update to a little more recent version would have helped ... This was fixed a
long time ago.

*** This bug has been marked as a duplicate of 17093 ***