diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2015-06-04 02:16:25 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-06-10 10:39:35 +0200 |
commit | 616b932ab0e45a5bcb3c6209fc0ab8bc369cf0cb (patch) | |
tree | 627de13bcd25fca7368e4de75b7baa723061aacc /Zend/tests/bug69551.phpt | |
parent | 2b8ba3e9f82c51c8f0d22dd2cf1110a7f781e89e (diff) | |
download | php-git-616b932ab0e45a5bcb3c6209fc0ab8bc369cf0cb.tar.gz |
added failing test
Diffstat (limited to 'Zend/tests/bug69551.phpt')
-rw-r--r-- | Zend/tests/bug69551.phpt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Zend/tests/bug69551.phpt b/Zend/tests/bug69551.phpt new file mode 100644 index 0000000000..0b391e78b5 --- /dev/null +++ b/Zend/tests/bug69551.phpt @@ -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 |