File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / serialize / bug67072.phpt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Sun Jun 15 20:04:00 2014 UTC (10 years, 1 month ago) by misho
Branches: php, MAIN
CVS tags: v5_4_29, HEAD
php 5.4.29

--TEST--
Bug #67072 Echoing unserialized "SplFileObject" crash
--FILE--
<?php
	echo unserialize('O:13:"SplFileObject":1:{s:9:"*filename";s:15:"/home/flag/flag";}');
?>
===DONE==
--EXPECTF--
Warning: Erroneous data format for unserializing 'SplFileObject' in %sbug67072.php on line %d

Notice: unserialize(): Error at offset 24 of 64 bytes in %sbug67072.php on line %d
===DONE==

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>