mirror of
https://github.com/php/php-src.git
synced 2026-04-27 01:48:26 +02:00
a555cc0b3d
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
10 lines
538 B
PHP
10 lines
538 B
PHP
--TEST--
|
|
Bug #68545 NULL pointer dereference in unserialize.c:var_push_dtor
|
|
--FILE--
|
|
<?php
|
|
var_dump(unserialize('a:6:{a:6:{s:3:"322";s:3:"bar";s:3:"bar";s:3:"foo";a:6:{a:6:{s:3:"322";s:3:"bar";s:3:"bar";s:3:"foo";s:3:"bar";a:6:{a:6:{s:3:"322";s:3:"bar";s:3:"bar";s:3:"foo";a:6:{a:6:{s:3:"322";s:3:"bar";s:3:"b22";s:3:"bar";s:3:"bar";s:3:"foo";s:3:"bar";a:6:{a:6:{s:3:"322";s:3:"bar";s:3:"bar";s:3:"foo";s:3:"bar";s:3:"bar";'));
|
|
?>
|
|
--EXPECTF--
|
|
Notice: unserialize(): Error at offset %d of %d bytes in %sbug68545.php on line %d
|
|
bool(false)
|