com php-src: added failing test: Zend/tests/bug69551.phpt

From: Date: Wed, 10 Jun 2015 08:39:35 +0000
Subject: com php-src: added failing test: Zend/tests/bug69551.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87159@lists.php.net to get a copy of this message
Commit: 616b932ab0e45a5bcb3c6209fc0ab8bc369cf0cb Author: Christoph M. Becker <cmbecker69@gmx.de> Thu, 4 Jun 2015 02:16:25 +0200 Committer: Anatol Belski <ab@php.net> Wed, 10 Jun 2015 10:39:35 +0200 Parents: 2b8ba3e9f82c51c8f0d22dd2cf1110a7f781e89e Branches: PHP-5.5 PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=616b932ab0e45a5bcb3c6209fc0ab8bc369cf0cb Log: added failing test Changed paths: A Zend/tests/bug69551.phpt Diff: diff --git a/Zend/tests/bug69551.phpt b/Zend/tests/bug69551.phpt new file mode 100644 index 0000000..0b391e7 --- /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

« previous php.cvs (#87159) next »