iliaa Wed Oct 22 19:48:49 2003 EDT
Added files: (Branch: PHP_4_3)
/php-src/tests/lang bug25922.phpt
Modified files:
/php-src NEWS
Log:
News & test regarding bug #25922
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.443 php-src/NEWS:1.1247.2.444
--- php-src/NEWS:1.1247.2.443 Mon Oct 20 12:58:55 2003
+++ php-src/NEWS Wed Oct 22 19:48:47 2003
@@ -1,6 +1,7 @@
PHP 4 NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? Oct 2003, Version 4.3.4RC3
+- Fixed bug #25922 (Crash in error handler when 5th argument is modified). Ilia
20 Oct 2003, Version 4.3.4RC2
- Fixed multibyte regex engine to properly handle ".*" pattern under
Index: php-src/tests/lang/bug25922.phpt
+++ php-src/tests/lang/bug25922.phpt
--TEST--
Bug #25922 (SEGV in error_handler when context is destroyed)
--INI--
error_reporting=2047
--FILE--
<?php
function my_error_handler($error, $errmsg='', $errfile='', $errline=0, $errcontext='')
{
$errcontext = '';
}
set_error_handler('my_error_handler');
function test()
{
echo "Undefined index here: '{$data['HTTP_HEADER']}'\n";
}
test();
?>
--EXPECT--
Undefined index here: ''
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php