Skip to content

Commit f3cf3fc

Browse files
committed
ext/zip: Exclude broken libzip 1.12
1 parent 48994f5 commit f3cf3fc

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎NEWS‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ PHP NEWS
8383
tidy::repairFile() rejecting null for $encoding. (lacatoire)
8484

8585
- Zip:
86+
. Excluded libzip 1.12.0 due to a regression preventing additions and
87+
replacements in torrentzip archives. (Weilin Du)
8688
. Fixed use-after-free when re-entering ZipArchive during destruction or
8789
a close warning, and rejected opening streams while closing. (jvoisin)
8890
. Fixed a use-after-free when a ZipArchive method that modifies the archive

‎ext/zip/config.m4‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PHP_ARG_WITH([zip],
44
[Include Zip read/write support])])
55

66
if test "$PHP_ZIP" != "no"; then
7-
PKG_CHECK_MODULES([LIBZIP], [libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0])
7+
PKG_CHECK_MODULES([LIBZIP], [libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0 libzip != 1.12 libzip != 1.12.0])
88

99
PHP_EVAL_INCLINE([$LIBZIP_CFLAGS])
1010
PHP_EVAL_LIBLINE([$LIBZIP_LIBS], [ZIP_SHARED_LIBADD])

0 commit comments

Comments
 (0)