ports/141406: Net::BitTorrent::File fails to parse .torrent file

Michael Soulier msoulier at digitaltorque.ca
Sat Dec 12 20:10:03 UTC 2009


>Number:         141406
>Category:       ports
>Synopsis:       Net::BitTorrent::File fails to parse .torrent file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 12 20:10:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Michael Soulier
>Release:        6.3
>Organization:
>Environment:
FreeBSD kanga.digitaltorque.ca 6.3-RELEASE-p4 FreeBSD 6.3-RELEASE-p4 #0: Mon Sep 22 02:44:08 EDT 2008     root at kanga.digitaltorque.ca:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Trying to load a directory full of .torrent files, I get this:

Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.9/Convert/Bencode.pm line 127.
Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.9/Convert/Bencode.pm line 138.
Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.9/Convert/Bencode.pm line 148.
Use of uninitialized value in pattern match (m//) at /usr/local/lib/perl5/site_perl/5.8.9/Convert/Bencode.pm line 157.
Can't coerce array into hash at /usr/local/lib/perl5/site_perl/5.8.9/Net/BitTorrent/File.pm line 278.

Looks like a bug in the library, possibly tickled by something odd in the .torrent file, I'm not sure. 
>How-To-Repeat:
Load a .torrent file that causes the issue. Unfortunately I'm not sure what's unique about my .torrent files. 
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list