diff options
| author | Ondřej Surý <ondrej@sury.org> | 2014-08-28 14:35:57 +0200 |
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2014-08-28 14:35:57 +0200 |
| commit | d73ee84cfbc86e793602b826adb0dd6bce042838 (patch) | |
| tree | 0d5fec0451150996f89b257b8717d15bb1d20170 /ext/zlib/tests | |
| parent | dee9227b6f6c89113e8964649afaf57c2ebf1027 (diff) | |
| download | php-d73ee84cfbc86e793602b826adb0dd6bce042838.tar.gz | |
New upstream version 5.6.0+dfsgupstream/5.6.0+dfsg
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 ab1db9258..000000000 --- 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 1e5026f65..000000000 --- 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 |
