Date: 01/05/99
- Next message: leif.thuresson <email protected>: "[PHP-DEV] Bug #1029: printf (& sprintf) dosn't handle exponential format for floats correctly"
- Previous message: martin: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: tobias <email protected>
Operating system: FreeBSD 2.2.2-release
PHP version: 3.0.6
PHP Bug Type: Reproduceable crash
Bug description: str_replace
PHP 3.0.6 as Apache-1.3.3-module, MySQL module, magic_quotes_gpc compiled in. This is the first time I'm able to crash PHP :)
The following line produces the crash:
$img = str_replace("/usr/local/www", "", $img);
$img is set to "/usr/local/www/swc/image.jpg"
httpd-error.log:
httpd in realloc(): warning: chunk is already free.
[Tue Jan 5 12:00:17 1999] [notice] httpd: child pid 24100 exit signal Segmentation fault (11)
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: leif.thuresson <email protected>: "[PHP-DEV] Bug #1029: printf (& sprintf) dosn't handle exponential format for floats correctly"
- Previous message: martin: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

