diff options
author | Stanislav Malyshev <stas@php.net> | 2014-08-20 13:15:22 -0700 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2014-08-20 13:15:22 -0700 |
commit | 46ee0e087e5bd6520051cb66d765fc428c51b1a4 (patch) | |
tree | 151be6648fe4fc328a97f813af506bef009f5119 /ext/zlib/tests | |
parent | eb2360602e256c608ea0c5f6be0ec5ec085999f3 (diff) | |
download | php-git-PHP-5.4.32.tar.gz |
Revert "Fixed Bug #67724"php-5.4.32PHP-5.4.32
This reverts commit e4ff7f2ee346d641715694209e61704c9e815483.
Reverted since it causes https://bugs.php.net/bug.php?id=67865
Diffstat (limited to 'ext/zlib/tests')
-rw-r--r-- | ext/zlib/tests/bug67724.gz.gz | bin | 171 -> 0 bytes | |||
-rw-r--r-- | ext/zlib/tests/bug67724.phpt | 26 |
2 files changed, 0 insertions, 26 deletions
diff --git a/ext/zlib/tests/bug67724.gz.gz b/ext/zlib/tests/bug67724.gz.gz Binary files differdeleted file mode 100644 index ab1db9258e..0000000000 --- a/ext/zlib/tests/bug67724.gz.gz +++ /dev/null diff --git a/ext/zlib/tests/bug67724.phpt b/ext/zlib/tests/bug67724.phpt deleted file mode 100644 index 1e5026f650..0000000000 --- a/ext/zlib/tests/bug67724.phpt +++ /dev/null @@ -1,26 +0,0 @@ ---TEST-- -Bug #67724 (chained zlib filters silently fail with large amounts of data) ---SKIPIF-- -<?php -extension_loaded("zlib") or die("skip need ext/zlib"); -?> ---FILE-- -<?php -echo "Test\n"; - -$f = fopen(__DIR__."/bug67724.gz.gz", "rb") - or die(current(error_get_last())); -stream_filter_append($f, "zlib.inflate", STREAM_FILTER_READ, ["window" => 30]); -stream_filter_append($f, "zlib.inflate", STREAM_FILTER_READ, ["window" => 30]); -for ($i = 0; !feof($f); $i += strlen(fread($f, 0x1000))) - ; -fclose($f); - -var_dump($i); - -?> -DONE ---EXPECT-- -Test -int(25600000) -DONE |