Bug #80400 [Opn]: many zlib fails with different zlib implementation

From: Date: Sun, 22 Nov 2020 20:03:49 +0000
Subject: Bug #80400 [Opn]: many zlib fails with different zlib implementation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230521@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80400&edit=1 ID: 80400 Updated by: nikic@php.net Reported by: bjornar dot ness at gmail dot com Summary: many zlib fails with different zlib implementation Status: Open Type: Bug Package: Zlib related Operating System: Irrelevant PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Could you please share the test diffs you're seeing? ("cat ext/zlib/tests/*.diff" or so?) Previous Comments: ------------------------------------------------------------------------ [2020-11-22 18:42:36] bjornar dot ness at gmail dot com Description: ------------ Various zlib tests are depends on exact zlib impementation output/behavior, and makes lots of tests fail with i.e cloudflare/zlib Perhaps it is possible to rewrite some of these tests to be less implementation spesific? The following tests fail: Bug #71417: fread() does not detect decoding errors from filter zlib.inflate [ext/zlib/tests/bug71417.phpt] Test gzcompress() function : basic functionality [ext/zlib/tests/gzcompress_basic1.phpt] Test gzcompress() function : variation [ext/zlib/tests/gzcompress_variation1.phpt] Test gzdeflate() function : basic functionality [ext/zlib/tests/gzdeflate_basic1.phpt] Test gzdeflate() function : variation [ext/zlib/tests/gzdeflate_variation1.phpt] Test gzencode() function : basic functionality [ext/zlib/tests/gzencode_basic1.phpt] Test gzencode() function : variation [ext/zlib/tests/gzencode_variation1.phpt] Bug #42663 (gzinflate() try to allocate all memory with truncated $data) [ext/zlib/tests/gzinflate-bug42663.phpt] zlib.deflate (with convert.base64-encode) [ext/zlib/tests/zlib_filter_deflate.phpt] zlib.deflate (with level parameter set) [ext/zlib/tests/zlib_filter_deflate2.phpt] ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80400&edit=1

« previous php.bugs (#230521) next »