Bug #80648 [Com]: Fix for bug #79296 should be based on runtime libzip version
| From: | panditanilshastri7 at gmail dot com | Date: | Wed, 20 Jan 2021 11:58:26 +0000 |
| Subject: | Bug #80648 [Com]: Fix for bug #79296 should be based on runtime libzip version | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-231668@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80648&edit=1
ID: 80648
Comment by: panditanilshastri7 at gmail dot com
Reported by: arnoutboks at gmail dot com
Summary: Fix for bug #79296 should be based on runtime libzip
version
Status: Open
Type: Bug
Package: Zip Related
Operating System: Linux
PHP Version: 7.4.14
Block user comment: N
Private report: N
New Comment:
We leave our Ex Because of the third person or misunderstanding. The relationship does not work
between the couples in a mashup. https://panditanilshastri.com/i-want-my-love-back/
Previous Comments:
------------------------------------------------------------------------
[2021-01-19 20:41:34] arnoutboks at gmail dot com
Description:
------------
In https://github.com/php/php-src/pull/5281,
a fix/BC workaround for bug #79296 was added. This fix checks compile-time if an affected version of
libzip (>= 1.6) is used and uses that to determine if the BC workaround is necessary.
However, if PHP is compiled with e.g. libzip 1.5.1 but dynamically linked to e.g. libzip 1.7.3 at
runtime, the BC workaround is not applied and bug #79296 still occurs. This happens e.g. when using
the PHP packages from deb.sury.org (see also https://github.com/oerdnj/deb.sury.org/issues/1521).
It would probably be better to not do the libzip version check at compile-time based on the headers,
but runtime based on zip_libzip_version().
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80648&edit=1