#29448 [Fbk->NoF]: include_once() && sprintf() bug

From: Date: Tue, 17 Aug 2004 23:00:06 +0000
Subject: #29448 [Fbk->NoF]: include_once() && sprintf() bug
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-64810@lists.php.net to get a copy of this message
ID: 29448 Updated by: php-bugs@lists.php.net Reported By: ylke at netlabs dot hu -Status: Feedback +Status: No Feedback Bug Type: Reproducible crash Operating System: Linux netlabs 2.4.26-grsec-2.0 PHP Version: 4.3.8 New Comment: No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2004-08-02 17:25:37] tony2001@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2004-07-29 20:17:23] ylke at netlabs dot hu Description: ------------ include_once(sprintf("%s/modules/spec_%s/%s.php",$this->set[path],$name,$name)); if i run this row, one of the apache childers will exit with segmentation fault. if the line below doesnt contains the sprintf() then php wont segfault and will write some parse warning in the specified file. why do this? Reproduce code: --------------- include_once(sprintf("%s/modules/spec_%s/%s.php",$this->set[path],$name,$name)); Expected result: ---------------- segmentation fault ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29448&edit=1

« previous php.bugs (#64810) next »