TypePHP 编译器
https://swoole.com/aot/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
416 B
14 lines
416 B
--TEST--
|
|
Bug #72433: Use After Free Vulnerability in PHP's GC algorithm and unserialize
|
|
--SKIPIF--
|
|
<?php
|
|
echo 'skip Test output differs under AOT compilation';
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
$serialized_payload = 'a:3:{i:0;r:1;i:1;r:1;i:2;C:11:"ArrayObject":19:{x:i:0;r:1;;m:a:0:{}}}';
|
|
var_dump(unserialize($serialized_payload));
|
|
?>
|
|
--EXPECTF--
|
|
Warning: unserialize(): Error at offset 13 of 69 bytes in %s on line %d
|
|
bool(false)
|
|
|