httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <>
Subject Apache 0.8.11 bug: potential seg fault in util.c (fwd)
Date Tue, 05 Sep 1995 17:48:04 GMT
Forwarded message:
>From <>  Mon Sep  4 04:48:10 1995
Date: Mon, 04 Sep 95 12:47:58 0100
From: James R Grinter <>
Organization: Demon Internet
X-Mailer: Mozilla 1.1N (X11; I; BSD/386 uname failed)
MIME-Version: 1.0
Subject: Apache 0.8.11 bug: potential seg fault in util.c
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Message-ID:  <>

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.

View raw message