added failing test

This commit is contained in:
Christoph M. Becker 2015-06-04 02:16:25 +02:00 committed by Anatol Belski
parent 2b8ba3e9f8
commit 616b932ab0

11
Zend/tests/bug69551.phpt Normal file
View File

@ -0,0 +1,11 @@
--TEST--
Bug #69551 - parse_ini_file() and parse_ini_string() segmentation fault
--FILE--
<?php
$ini = '[Network.eth0]
SubnetMask = "' . "\x0A\x1B" . '"';
parse_ini_string($ini, false, INI_SCANNER_RAW);
echo 'Ready'; // do we reach this line?
?>
--EXPECT--
Ready