com php-src: testcase for 67468 (only for debug build, as I could not create a stable segfault without loading other exts like pgsql):
Zend/tests/67468.phpt

From: Date: Mon, 23 Jun 2014 08:10:17 +0000
Subject: com php-src: testcase for 67468 (only for debug build, as I could not create a stable segfault without loading other exts like pgsql):
Zend/tests/67468.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-79011@lists.php.net to get a copy of this message
Commit: 53158f2c32c71bddbfaa390c0c4758bc98540946 Author: Ferenc Kovacs <tyrael@php.net> Mon, 23 Jun 2014 10:10:17 +0200 Parents: 3058b877834ca01aa9f1c3634f4721176c7f1610 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=53158f2c32c71bddbfaa390c0c4758bc98540946 Log: testcase for 67468 (only for debug build, as I could not create a stable segfault without loading other exts like pgsql) Changed paths: A Zend/tests/67468.phpt Diff: diff --git a/Zend/tests/67468.phpt b/Zend/tests/67468.phpt new file mode 100644 index 0000000..7672176 --- /dev/null +++ b/Zend/tests/67468.phpt @@ -0,0 +1,11 @@ +--TEST-- +Bug #67468 (Segfault in highlight_file()/highlight_string()) +--SKIPIF-- +<?php if(!function_exists("leak")) print "skip only for debug builds"; ?> +--FILE-- +<?php +highlight_string("<?php __CLASS__;", true); +echo "done"; +?> +--EXPECT-- +done

« previous php.cvs (#79011) next »