Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 8200 invoked by uid 500); 25 Dec 2001 21:42:00 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 8189 invoked by uid 500); 25 Dec 2001 21:42:00 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 25 Dec 2001 21:41:59 -0000 Message-ID: <20011225214159.85314.qmail@icarus.apache.org> From: brianp@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/server vhost.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 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"; }