From: olivier dot berger at it-sudparis dot eu Operating system: Debian lenny PHP version: 5.2.6 PHP Bug Type: Reproducible crash Bug description: segfault when setting include_path to concat. of non-defined ${include_path}
Description: ------------ If include_path wasn't set already, setting it to some concatenation of ${include_path} causes a segfault. Seems different from #37002, AFAICT More details in Debian bug : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497453 Reproduce code: --------------- For instance, if /etc/php5/apache2/php.ini doesn't contain any include_path definition, like is by default in Debian : ; UNIX: "/path1:/path2" ;include_path = ".:/usr/share/php" then setting the following in for instance /etc/php5/conf.d/zend.ini : [Zend] include_path = ${include_path} ":/usr/share/php/libzend-framework-php" leads to segmentation fault. Expected result: ---------------- I guess referencing variables no yet explicitely set, but having default values should return their default value. Uncommenting the default include_path in /etc/php5/apache2/php.ini allows it to work. Actual result: -------------- Apache segmentation fault -- Edit bug report at http://bugs.php.net/?id=45973&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45973&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45973&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45973&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45973&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45973&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45973&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45973&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45973&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45973&r=support Expected behavior: http://bugs.php.net/fix.php?id=45973&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45973&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45973&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45973&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45973&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45973&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45973&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45973&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45973&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45973&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45973&r=mysqlcfg