Skip to content

Test failure with zlib-ng #13217

Closed
Closed
@remicollet

Description

@remicollet

Description

Fedora 40 have switched to zlib-ng
See: https://fedoraproject.org/wiki/Changes/ZlibNGTransition

Lot of tests are now failing

FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #42663 (gzinflate() try to allocate all memory with truncated $data) [ext/zlib/tests/gzinflate-bug42663.phpt]
Bug #48725 (Support for flushing in zlib stream) [ext/zlib/tests/bug48725_2.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 #71417: fread() does not report zlib.inflate errors [ext/zlib/tests/bug71417.phpt]
zlib.deflate (with convert.base64-encode) [ext/zlib/tests/zlib_filter_deflate.phpt]

Ex:

TEST FAILURE: ../ext/zlib/tests/gzinflate-bug42663.diff --
     int(168890)
002- int(66743)
002+ int(66744)
     int(65535)
     
     Warning: gzinflate(): data error in %s on line %d
--
-- ../ext/zlib/tests/gzinflate-bug42663.diff result ends.

PHP Version

N/A

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions