httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: Apache Freezing (select: (listen): Bad address) (fwd)
Date Fri, 12 Sep 1997 19:00:30 GMT
On Fri, 12 Sep 1997, Ben Laurie wrote:

> Marc Slemko wrote:
> > 
> > I still don't buy this, but FWIW...
> > 
> > He is claiming that since the kernel doesn't like what Apache is passing
> > it then Apache must be broken, since it couldn't every be Linux.  It does
> > happen with 1.2, Linux is the only OS it happens on.  That doesn't mean it
> > can't be a bug in Apache, but...
> 
> If Apache is passing an invalid address, then it is Apache. Of course,
> the fact that the kernel says it is invalid is not proof that it is
> invalid - but that may not be what he means when he says he's verified
> and traced it.

Apache doesn't pass addresses.  It passes a fd to a listen() call.  The fd
it gets is from other system and library calls.  If they give a fd with
bogus information, Apache can not be faulted for passing it.  If you look
at what Apache does with that fd, there is very little.  It is possible,
but unlikely, that Apache is scribbling over the memory associated with
it.


Mime
View raw message