You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2004/04/15 22:36:46 UTC
cvs commit: httpd-2.0/server vhost.c
jorton 2004/04/15 13:36:46
Modified: server vhost.c
Log:
* server/vhost.c (remove_unused_name_vhosts): Remove redundant check;
catch all port-based NameVirtualHosts without defined VirtualHosts,
preventing segfaults later in some misconfigurations.
PR: 27731
Revision Changes Path
1.86 +0 -6 httpd-2.0/server/vhost.c
Index: vhost.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/vhost.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -w -d -u -r1.85 -r1.86
--- vhost.c 11 Mar 2004 19:46:35 -0000 1.85
+++ vhost.c 15 Apr 2004 20:36:45 -0000 1.86
@@ -500,12 +500,6 @@
ic->sar->virthost, ic->sar->host_port);
*pic = ic->next;
}
- else if (ic->names == NULL) {
- /* if server != NULL and names == NULL then we're done
- * looking at NameVirtualHosts
- */
- break;
- }
else {
pic = &ic->next;
}