mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
16 lines
210 B
PHP
16 lines
210 B
PHP
--TEST--
|
|
Bug #73900: Use After Free in unserialize() SplFixedArray
|
|
--FILE--
|
|
<?php
|
|
|
|
$a = new stdClass;
|
|
$b = new SplFixedArray(1);
|
|
$b[0] = $a;
|
|
$c = &$b[0];
|
|
var_dump($c);
|
|
|
|
?>
|
|
--EXPECT--
|
|
object(stdClass)#1 (0) {
|
|
}
|