php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44382 php_zip: zip CRC failed (corrupt) causes freeze of php!
Submitted: 2008-03-09 16:37 UTC Modified: 2009-03-04 10:32 UTC
From: ecc at camya dot com Assigned: pajoye (profile)
Status: Closed Package: Reproducible crash
PHP Version: 5.2.5 OS: Windows
Private report: No CVE-ID: None
 [2008-03-09 16:37 UTC] ecc at camya dot com
Description:
------------
If i try to unpack an corrupt zip file (crc check failed for an file in the zip) using the php_zip extension, the php process freezes. I have to kill the process. Maybe its possible to throw an exception for this problem. I use php-cli!

Reproduce code:
---------------
You can download an corrupt zip file here:
http://www.camya.com/dl/zip-crc-corrupt.zip

Expected result:
----------------
The windows php-cli freezes!


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-09 17:55 UTC] pajoye@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi

I can't reproduce your problem with current 5.2-cvs (5.2.6RC). Please try again using a snapshot.
 [2008-03-17 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2009-03-04 10:32 UTC] pajoye@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 23:01:34 2024 UTC