[PHP-DEV] Bug #977: php seems to crash with ereg and a searchstring including "?>" From: auke <email protected>
Date: 12/05/98

From: auke <email protected>
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 <email protected>
For help: php-dev-help <email protected>