Bug #1028 Updated: str_replace
| From: | Bug Database | Date: | Fri, 08 Jan 1999 15:56:51 +0000 |
| Subject: | Bug #1028 Updated: str_replace | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3408@lists.php.net to get a copy of this message | ||
ID: 1028
User Update by: tobias@dnet.it
Status: Closed
Bug Type: Reproduceable crash
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)
Full Bug description available at: http://ca.php.net/bugs.php3?id=1028
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net