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: -
From: kaplanlior at gmail dot com Assigned:
Status: Open Package: Zlib related
PHP Version: 5.4.6 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kaplanlior at gmail dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Sep 22 14:01:27 2019 UTC