php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63048 zip extension crashes on zip_close with zlib 1.2.7 (works fine in zlib 1.2.3)
Submitted: 2012-09-09 10:51 UTC Modified: 2020-10-04 04:22 UTC
From: kaplanlior at gmail dot com Assigned: cmb (profile)
Status: No Feedback Package: Zlib related
PHP Version: 5.4.6 OS:
Private report: No CVE-ID: None
 [2012-09-09 10:51 UTC] kaplanlior at gmail dot com
Description:
------------
I've built zip extension dynamically against zlib 1.2.3, but when having zlib 1.2.7 in the execution environment, the extension crashes:

/lib/x86_64-linux-gnu/libc.so.6(+0x324f0) [0x7fd04e24d4f0] 
/usr/lib/x86_64-linux-gnu/libz.so.1(+0x3182) [0x7fd04ddec182] 
/usr/lib/x86_64-linux-gnu/libz.so.1(+0x377d) [0x7fd04ddec77d] 
/usr/lib/x86_64-linux-gnu/libz.so.1(deflate+0x107) [0x7fd04dded7f7] 
/usr/local/zend/lib/php_extensions/zip.so(zip_close+0xbb8) [0x7fd04b542fa8] 
/usr/local/zend/lib/php_extensions/zip.so(+0x8c02) [0x7fd04b53ec02]
/usr/local/zend/gui/lighttpd/sbin/php() [0x689875] 
/usr/local/zend/gui/lighttpd/sbin/php(execute+0x1ce) [0x68f80e] 
/usr/local/zend/gui/lighttpd/sbin/php(zend_execute_scripts+0x159) [0x65bbd9] 
/usr/local/zend/gui/lighttpd/sbin/php(php_execute_script+0x1b8) [0x5feca8] 
/usr/local/zend/gui/lighttpd/sbin/php() [0x70418a] 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7fd04e239ead] 
/usr/local/zend/gui/lighttpd/sbin/php() [0x43631a] 

Notice that most linux distributions are in the process to switch from 1.2.3 to 1.2.7.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-09-22 13:27 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-09-22 13:27 UTC] cmb@php.net
Is that still an issue nowadays?
 [2020-10-04 04:22 UTC] 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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC