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
Please register or sign in to comment