You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by br...@apache.org on 2001/12/25 22:41:59 UTC
cvs commit: httpd-2.0/server vhost.c
brianp 01/12/25 13:41:59
Modified: . CHANGES
server vhost.c
Log:
Fixed a segfault that occurred during startup if a VirtualHost
directive had a port but no address
Reported by: Don Hughes <su...@sannotes.org>
Revision Changes Path
1.484 +3 -0 httpd-2.0/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/httpd-2.0/CHANGES,v
retrieving revision 1.483
retrieving revision 1.484
diff -u -r1.483 -r1.484
--- CHANGES 2001/12/24 07:05:18 1.483
+++ CHANGES 2001/12/25 21:41:59 1.484
@@ -1,4 +1,7 @@
Changes with Apache 2.0.30-dev
+ *) Fixed startup segfault that occurred when a VirtualHost
+ directive had a port but no address [Brian Pane]
+
*) Allow htdbm to work with multiple DBM types [Ian Holsman]
*) Win32: Made change to apr_sendfile() to return APR_ENOTIMPL
1.64 +3 -0 httpd-2.0/server/vhost.c
Index: vhost.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/vhost.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- vhost.c 2001/11/20 18:27:07 1.63
+++ vhost.c 2001/12/25 21:41:59 1.64
@@ -209,6 +209,9 @@
if (rv != APR_SUCCESS) {
return "The address or port is invalid";
}
+ if (!host) {
+ return "Missing address for VirtualHost";
+ }
if (scope_id) {
return "Scope ids are not supported";
}