mirror of
https://github.com/php/php-src.git
synced 2026-04-21 06:51:18 +02:00
* PHP-5.6: backport to 5.6 (we should not unset the default value) Conflicts: Zend/zend_exceptions.c ext/standard/tests/serialize/bug69152.phpt
16 lines
658 B
PHP
16 lines
658 B
PHP
--TEST--
|
|
Bug #69793: Remotely triggerable stack exhaustion via recursive method calls
|
|
--FILE--
|
|
<?php
|
|
$e = unserialize('O:9:"Exception":7:{s:17:"'."\0".'Exception'."\0".'string";s:1:"a";s:7:"'."\0".'*'."\0".'code";i:0;s:7:"'."\0".'*'."\0".'file";R:1;s:7:"'."\0".'*'."\0".'line";i:1337;s:16:"'."\0".'Exception'."\0".'trace";a:0:{}s:19:"'."\0".'Exception'."\0".'previous";i:10;s:10:"'."\0".'*'."\0".'message";N;}');
|
|
|
|
var_dump($e."");
|
|
?>
|
|
--EXPECTF--
|
|
Notice: Undefined property: Exception::$file in %s%ebug69793.php on line %d
|
|
|
|
Notice: Undefined property: Exception::$previous in %s%ebug69793.php on line %d
|
|
string(41) "Exception in :1337
|
|
Stack trace:
|
|
#0 {main}"
|