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 22276] New: - segfault in new_connection with unusual vhost config
Date Sun, 10 Aug 2003 01:33:33 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=22276>.
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=22276

segfault in new_connection with unusual vhost config

           Summary: segfault in new_connection with unusual vhost config
           Product: Apache httpd-1.3
           Version: 1.3.28
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: jelly+apachebug@srk.fer.hr


Apache 1.3.28 and 1.3.27 both receive a SEGV signal if the config file contains 
something
like:

Listen 8080
Listen 8081
NameVirtualHost: *:8080
(no vhosts under port 8080)
<VirtualHost _default_:8081>
</VirtualHost>

And a user tries to access the site on port 8080.

This can be tracked to ap_update_vhost_given_ip in http_vhost.c (called from 
new_connection), which does not setup the server structure in this case, and 
modules like mod_ssl assume conn->server is valid (not null).

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


Mime
View raw message