Re: Re: Buffer overflow in pan when parsing .nzb files

Pavel Polischouk <[email protected]>
Newsgroups gmane.comp.gnome.apps.pan.devel
Message-ID <[email protected]>
Greg Lee wrote:
> On Wed, 28 May 2008 23:12:22 -0400, Pavel Polischouk wrote:
>   
>> The solution is to clear() the 'parts' vector on each init(),
>>     
>
> I hope this fix doesn't disturb a rather odd but
> quite useful characteristic of pan: when there's a
> crash and pan is in the midst of doing something (e.g.,
> downloading), when you invoke pan again, it continues
> where it left off, as it didn't even know that something
> bad happened.
>   
No, it absolutely doesn't disturb this functionality. More than that, it 
fixes another obscure bug where /wrong/ segments would be sometimes 
downloaded after restart (resulting in the wrong binary file).

This has been tested and appears to work fine.

Pavel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.