ID:               45151
 User updated by:  giedrius at su dot lt
 Reported By:      giedrius at su dot lt
 Status:           Open
 Bug Type:         CGI related
 Operating System: Linux 2.6
 PHP Version:      5.2.6
 New Comment:

Fixed by replacing ".." to "../" in sapi/cgi/cgi_main.c
for directory protection in url


Previous Comments:
------------------------------------------------------------------------

[2008-06-02 19:20:35] giedrius at su dot lt

Description:
------------
PHP SEGfaults when opening file..php
PHP(FastCGI SAPI) is invoked via suphp
running php-cgi binary manually does NOT trigger segfault

For the moment managed to fix this by replacing ".." directory 
protection to "../"


Expected result:
----------------
parse the file

Actual result:
--------------
segfaults


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45151&edit=1

Reply via email to