Commit 209c22f3 authored by Chuck Murcko's avatar Chuck Murcko
Browse files

Reviewed by: The Group

Submitted by:	Howard Fear <howard_fear@pageplus.com>
I've finally tracked down the persistant core dumps we were experiencing
on Linux.  Attached is a patch for 1.0.5.  I'll do one for 1.1 later
tonight.

The problem is in mod_include.c.  The macro that reads the file
fcloses a pfopen'ed file.  This results in closing the file twice,
once during the fclose and again during the resource cleanup.
This apparently sends the linux libc.5.3.x fclose into a SIGSEGV,
its not smart enough to realize that the fd has already been closed.

This happens for every page served through mod_include.  This can be
a serious problem for sites that set up the include handler for
.html files.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76545 13f79535-47bb-0310-9956-ffa450edef68
parent 8ec97d95
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment