Bug #63048 [NEW]: zip extension crashes on zip_close with zlib 1.2.7 (works fine in zlib 1.2.3)
| From: | kaplanlior at gmail dot com | Date: | Sun, 09 Sep 2012 10:51:35 +0000 |
| Subject: | Bug #63048 [NEW]: zip extension crashes on zip_close with zlib 1.2.7 (works fine in zlib 1.2.3) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-173276@lists.php.net to get a copy of this message | ||
From: kaplanlior at gmail dot com
Operating system:
PHP version: 5.4.6
Package: Zlib related
Bug Type: Bug
Bug description:zip extension crashes on zip_close with zlib 1.2.7 (works fine in zlib 1.2.3)
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.
--
Edit bug report at https://bugs.php.net/bug.php?id=63048&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63048&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63048&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63048&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=63048&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=63048&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=63048&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=63048&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=63048&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=63048&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=63048&r=support
Expected behavior: https://bugs.php.net/fix.php?id=63048&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=63048&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=63048&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=63048&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63048&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=63048&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=63048&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=63048&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63048&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=63048&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=63048&r=mysqlcfg