Re: fopen_wrappers.c DOCUMENT_ROOT .htaccess error

From: Date: Tue, 04 Aug 2009 05:17:01 +0000
Subject: Re: fopen_wrappers.c DOCUMENT_ROOT .htaccess error
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19  Groups: php.internals 
Request: Send a blank email to internals+get-45214@lists.php.net to get a copy of this message
Quoting Scott MacVicar <scott@macvicar.net>:
It could be related to the following patch to do with evaluation order of per directory configuration http://svn.php.net/viewvc?view=revision&sortby=date&revision=269640 Again it's another security issue that was resolved.
I'm not sure if this is the cause either? The issue is that in the backtrace it appears to crash in the function _zend_is_inconsistent intermittently. If the function was working correctly the code I wrote would just return -1 everytime instead of random crashes? The other options is to stop the check by checking to see if the SAPI has been initialised before calling the zend_hash_find function - how can I do this? Or/and do the error_log open_base check after the SAPI has be initialised - again not sure how to do this? Ideally both should be performed to ensure the error_log path is within the open_base.

« previous php.internals (#45214) next »