Bug #977: php seems to crash with ereg and a searchstring including "?>"

From: Date: Sat, 05 Dec 1998 16:10:41 +0000
Subject: Bug #977: php seems to crash with ereg and a searchstring including "?>"
Groups: php.dev 
Request: Send a blank email to php-dev+get-2677@lists.php.net to get a copy of this message
From: auke@muze.nl Operating system: debian 2.0 PHP version: 3.0.5 PHP Bug Type: Reproduceable crash Bug description: php seems to crash with ereg and a searchstring including "?&gt;" start<br> <?php echo "in<br>"; if (ereg("?>",$frut)) { echo "frut"; } else { echo "frot"; }; ?> end<br> running this script resulted in a 'document contains no data' error and the following line in the error_log [Sat Dec 5 17:03:13 1998] [notice] httpd: child pid 12871 exit signal Aborted (6) I'm not sure what happened here but it looks suspiciously like a crash :) -- 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

« previous php.dev (#2677) next »