Forwarded message:
>From <@chacal.demon.co.uk:jrg@demon.net> Mon Sep 4 04:48:10 1995
Date: Mon, 04 Sep 95 12:47:58 0100
Sender: jrg@demon.net
From: James R Grinter <jrg@demon.net>
Organization: Demon Internet
X-Mailer: Mozilla 1.1N (X11; I; BSD/386 uname failed)
MIME-Version: 1.0
To: apache-bugs@apache.org
Subject: Apache 0.8.11 bug: potential seg fault in util.c
X-URL: http://www.apache.org/
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Message-ID: <9509041247.aa29523@office.demon.net>
At util.c, line 722,
There's no check to ensure that 'hep' is not a NULL pointer, before
trying to dereference it.
gethostbyname() will return a NULL if there's no such host.
It might also be a good idea to remove more of the places where the
code can just exit(), so that the rest of the virtual hosts and
the server would carry on if there's a non-fatal error in the
configuration file: that's just an idea though.
-- jrg.