Bug #53587 [Ver->Nab]: "Seek error: Invalid argument" when creating ZIP larger than 2GB on 32bit arch
| From: | cmb@php.net | Date: | Mon, 19 Jul 2021 13:29:25 +0000 |
| Subject: | Bug #53587 [Ver->Nab]: "Seek error: Invalid argument" when creating ZIP larger than 2GB on 32bit arch | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-235181@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=53587&edit=1
ID: 53587
Updated by: cmb@php.net
Reported by: jerome dot auge at anakeen dot com
Summary: "Seek error: Invalid argument" when creating ZIP
larger than 2GB on 32bit arch
-Status: Verified
+Status: Not a bug
Type: Bug
Package: Zip Related
Operating System: Linux, Mac OS X (x86)
PHP Version: 5.6.9
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
libzip is unbundled as of PHP 7.4.0, so this is no longer a PHP
issue. If you still experience this problem, please report
upstream: <https://github.com/nih-at/libzip/issues>.
Previous Comments:
------------------------------------------------------------------------
[2015-05-31 21:48:12] cmb@php.net
I can confirm this issue for Debian 8 i386 (no problems on Xubuntu
15.04 x64, though). Even if creating Zip64s is not supposed to work
on x86 platforms, at least the error should be indicated.
------------------------------------------------------------------------
[2015-05-31 09:35:22] jerome dot auge at anakeen dot com
I compiled php-5.6.9 on Debian 8 i686 with
./configure --enable-zip, and my test fails:
the output Zip file is not created and no error is reported (neither from Zip::addFile() nor
Zip::close()).
------------------------------------------------------------------------
[2015-05-31 04:22:17] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
------------------------------------------------------------------------
[2015-05-18 18:34:06] cmb@php.net
Zip64 support is supposed to be available since libzip 0.11. As of
PHP 5.6.8 libzip 0.11.2 or newer are bundled. For older PHP
versions PECL provides up-to-date zip extension packages (use
1.12.4 or newer): <https://pecl.php.net/package/zip>
Can you confirm that the issue is solved with latest PHP resp.
PECL zip versions?
------------------------------------------------------------------------
[2010-12-21 16:16:56] jerome dot auge at anakeen dot com
Package: "Zip Related"
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=53587
--
Edit this bug report at https://bugs.php.net/bug.php?id=53587&edit=1