#27228 [NEW]: SSI Including PHP File Within PHP File Causes Seg Fault

From: Date: Thu, 12 Feb 2004 02:37:24 +0000
Subject: #27228 [NEW]: SSI Including PHP File Within PHP File Causes Seg Fault
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-54793@lists.php.net to get a copy of this message
From: arthur at levelogic dot com Operating system: RedHat Linux 9 PHP version: 4.3.4 PHP Bug Type: Reproducible crash Bug description: SSI Including PHP File Within PHP File Causes Seg Fault Description: ------------ Setting up Apache 2.0 to FILTER php files and SSI parse them. When trying to include a php file from within another php file, I get a seg fault. Apache setup as: <Files *.php> SetOutputFilter PHP;INCLUDES SetInputFilter PHP LimitRequestBody 524288 </Files> Reproduce code: --------------- /test1.php <!--#include virtual="/test2.php" --> /test2.php Testing 1 2 3 Expected result: ---------------- Testing 1 2 3 Actual result: -------------- Seg fault on server and hanging to eventually timeout on client. -- Edit bug report at http://bugs.php.net/?id=27228&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27228&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27228&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27228&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27228&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27228&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27228&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27228&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27228&r=support Expected behavior: http://bugs.php.net/fix.php?id=27228&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27228&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27228&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27228&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27228&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27228&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27228&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27228&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27228&r=float

« previous php.bugs (#54793) next »