mirror of
https://github.com/php/php-src.git
synced 2026-04-20 22:41:20 +02:00
11 lines
303 B
PHP
11 lines
303 B
PHP
--TEST--
|
|
Bug #74101: Unserialize Heap Use-After-Free (READ: 1) in zval_get_type
|
|
--FILE--
|
|
<?php
|
|
$s = 'O:9:"Exception":799999999999999999999999999997:0i:0;a:0:{}i:2;i:0;i:0;R:2;';
|
|
var_dump(unserialize($s));
|
|
?>
|
|
--EXPECTF--
|
|
Notice: unserialize(): Error at offset 48 of 74 bytes in %s on line %d
|
|
bool(false)
|