summaryrefslogtreecommitdiff
path: root/Zend/tests/bug69551.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug69551.phpt')
-rw-r--r--Zend/tests/bug69551.phpt11
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