|
From: | Pavel Polischouk |
Subject: | Re: [Pan-devel] Re: Buffer overflow in pan when parsing .nzb files |
Date: | Sun, 01 Jun 2008 08:18:20 -0400 |
User-agent: | Thunderbird 2.0.0.14 (X11/20080501) |
Greg Lee wrote:
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).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.
This has been tested and appears to work fine. Pavel
[Prev in Thread] | Current Thread | [Next in Thread] |