com php-src: We'd better not include this test script: tests/basic/bug68986.phpt

From: Date: Thu, 05 Feb 2015 08:27:01 +0000
Subject: com php-src: We'd better not include this test script: tests/basic/bug68986.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-84654@lists.php.net to get a copy of this message
Commit: aa74a529850776f425041e458ab043499a4acec2 Author: Xinchen Hui <laruence@php.net> Thu, 5 Feb 2015 16:27:01 +0800 Parents: 22a468dc71bfbf0669c582ab5b8fae764a253246 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=aa74a529850776f425041e458ab043499a4acec2 Log: We'd better not include this test script Changed paths: D tests/basic/bug68986.phpt Diff: diff --git a/tests/basic/bug68986.phpt b/tests/basic/bug68986.phpt deleted file mode 100644 index 7827b78..0000000 --- a/tests/basic/bug68986.phpt +++ /dev/null @@ -1,23 +0,0 @@ ---TEST-- -Bug #68986 (pointer returned by php_stream_fopen_temporary_file not validated in memory.c) ---INI-- -default_charset=UTF-8 ---FILE-- -<?php -if (substr(PHP_OS, 0, 3) == 'WIN') { - die('skip.. only for unix'); -} - -$tempDir = getenv("TMPDIR"); -mkdir($tempDir . '/php68986'); -system("chmod 444 " . $tempDir . '/php68986'); -putenv("TMPDIR=" . $tempDir . '/php68986'); - -$fp = fopen('php://temp', 'r+'); -$data = implode('', array_fill(0, (1024 * 1024 * 2), 'A')); -var_dump(fwrite($fp, $data)); -fclose($fp); -rmdir($tempDir . '/php68986'); - ---EXPECT-- -int(2088960)

« previous php.cvs (#84654) next »