libzip: libzip-discuss: Re: [patch] Infinite loop in zip_fread

Thread

Thread Index

Message

From: Dieter Baron <dillo%danbala.tuwien.ac.at@localhost>
To: Alexander Galanin <al%galanin.nnov.ru@localhost>
Subject: Re: [patch] Infinite loop in zip_fread
Date: Tue, 9 Feb 2010 20:44:49 +0100

On Feb 9, 2010, at 19:59, Alexander Galanin wrote:

> On Tue, 9 Feb 2010 16:23:06 +0100
> Dieter Baron <dillo%danbala.tuwien.ac.at@localhost> wrote:
> 
>> On Feb 5, 2010, at 14:38, Alexander Galanin wrote:
>>> On Thu, 4 Feb 2010 09:31:09 +0300
>>> Alexander Galanin <al%galanin.nnov.ru@localhost> wrote:
>>> 
>>>> Hello!
>>>> 
>>>> I found that zip_fread enters infinite loop while reading file with bad
>>>> CRC. You can reproduce the problem using attached test.
>> 
>>  The attached zip archive contains only an empty directory, so I cannot 
>> reproduce the bug.
> 
> Oops, sorry. Correct archive is attached to this letter.

Okay, I can reproduce the error with libzip 0.9.3 (it works fine with HEAD from 
mercurial).
I'll look into it.

yours,
dillo

Made by MHonArc.