httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brad Nicholes" <>
Subject Re: [PATCH] Re: mod_include bug(s)?
Date Fri, 29 Mar 2002 00:28:11 GMT
I don't know if this has anything to do with the problems that you are
seeing but there is a while loop in is_only_below that is running off
the end of the string.  

        while (*path && *(path++) != '/')

The while loop increments "path" twice in one iteration which means
that any string with an odd number of characters will skip past the
check for NULL and start walking through whatever memory exists at that
point.  This is causing NetWare to fault.  I'm sure it is causing other
platforms problems also.


Brad Nicholes
Senior Software Engineer
Novell, Inc., a leading provider of Net business solutions 

>>> Thursday, March 28, 2002 2:49:10 PM >>>
On Thu, 28 Mar 2002, Paul J. Reder wrote:

> That patch seems to solve at least one of the problems that I am
> but I have at least one other problem and a core dump inside
> send_parsed_content. I'm currently stepping though, trying to find
> source of the core dump.
> I'll let you know what I find.

Thanks guys!


   Cliff Woolley 
   Charlottesville, VA

View raw message