mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-users] [patch #6961] BT: Fix torrent parsing when announce-lis


From: spiralvoice
Subject: [Mldonkey-users] [patch #6961] BT: Fix torrent parsing when announce-list is empty
Date: Fri, 23 Oct 2009 05:24:29 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.3) Gecko/20091010 Iceweasel/3.5.3 (Debian-3.5.3-2)

URL:
  <http://savannah.nongnu.org/patch/?6961>

                 Summary: BT: Fix torrent parsing when announce-list is empty
                 Project: mldonkey, a multi-networks file-sharing client
            Submitted by: user
            Submitted on: Fr 23 Okt 2009 07:24:28 CEST
                Category: None
                Severity: 4 - Important
              Item Group: None
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: None
        Operating System: None
         Binaries Origin: None
                CPU type: None

    _______________________________________________________

Details:

Some torrent files are discarded by mldonkey with this message in log:
[BT] Error Failure("hd") in scan_new_torrents_directory for file.torrent,
moved to torrents/old ...
3.0.0-3 from squeeze is also affected.

I tried to fix this, and it turns out that some internal list is empty
when program tries to get it's first element.
This patch checks list length before using it. Works fine for me.

Sample torrent:
http://www.mininova.org/tor/3070173


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mi 10 Mär 2004 17:32:49 CET  By: Per Cederberg <cederberg>
Closing bug as version 2.3 has been released.

-------------------------------------------------------
Date: Di 23 Dez 2003 13:03:09 CET   By: Per Cederberg <cederberg>
Shell scrips have been contributed by Watsh Rajneesh.






    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6961>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]