Bug #49072 [Asn]: feof never returns true for damaged file in zip

From: Date: Mon, 07 Feb 2011 15:13:29 +0000
Subject: Bug #49072 [Asn]: feof never returns true for damaged file in zip
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-158554@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=49072&edit=1

 ID:                 49072
 Updated by:         pajoye@php.net
 Reported by:        TorokAlpar at Gmail dot com
 Summary:            feof never returns true for damaged file in zip
 Status:             Assigned
 Type:               Bug
 Package:            Zip Related
 Operating System:   Windows Xp, Linux
 PHP Version:        5.3.0
 Assigned To:        cataphract
 Block user comment: N
 Private report:     N

 New Comment:

Test for this bug fail here (5.3/trunk):

001+ 
001- Warning: fread(): Zip stream error: CRC error in %s on line %d


Previous Comments:
------------------------------------------------------------------------
[2011-02-07 16:12:46] pajoye@php.net

Test fails here:

001+ 
001- Warning: fread(): Zip stream error: CRC error in %s on line %d

------------------------------------------------------------------------
[2011-02-01 15:44:31] cataphract@php.net

Automatic comment from SVN on behalf of cataphract
Revision: http://svn.php.net/viewvc/?view=revision&revision=307917
Log: - Fixed bug #49072 (feof never returns true for damaged file in
zip).

------------------------------------------------------------------------
[2011-02-01 15:43:54] cataphract@php.net

Automatic comment from SVN on behalf of cataphract
Revision: http://svn.php.net/viewvc/?view=revision&revision=307916
Log: - Fixed bug #49072 (feof never returns true for damaged file in
zip).

------------------------------------------------------------------------
[2011-02-01 13:22:09] rquadling@php.net

Unassigned from me as I don't have karma.

------------------------------------------------------------------------
[2011-02-01 13:20:07] rquadling@php.net

The following patch has been added/updated:

Patch Name: zip_stream_errors_reported.patch
Revision:   1296562807
URL:       
http://bugs.php.net/patch-display.php?bug=49072&patch=zip_stream_errors_reported.patch&revision=1296562807

------------------------------------------------------------------------


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

    http://bugs.php.net/bug.php?id=49072


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=49072&edit=1


Thread (11 messages)

« previous php.bugs (#158554) next »