summaryrefslogtreecommitdiff
path: root/ext/standard/tests/serialize/bug74111.phpt
blob: 62922bea55ae081c8189c838488973268c5bdd85 (plain)
1
2
3
4
5
6
7
8
9
10
--TEST--
Bug #74111: Heap buffer overread (READ: 1) finish_nested_data from unserialize
--FILE--
<?php
$s = 'O:8:"stdClass":00000000';
var_dump(unserialize($s));
?>
--EXPECTF--
Notice: unserialize(): Error at offset 25 of 23 bytes in %s on line %d
bool(false)