crash upon adding a zero-sized .torrent
Posted: Mon Dec 10, 2007 7:18 pm
Download of one of my .torrent files failed and I got a zero-sized .torrent file on my disk.
But at first I didn't notice that and tried to add it to Deluge 0.5.7.1.
I successfully selected the file and choosed download dir. After that Deluge crashed. Here is what I've got in console:
How-to-repeat: create a zero-sized .torrent file and add it to Deluge.
Expected behavior: complain about corrupted/malformed .torrent file.
But at first I didn't notice that and tried to add it to Deluge 0.5.7.1.
I successfully selected the file and choosed download dir. After that Deluge crashed. Here is what I've got in console:
Code: Select all
terminate called after throwing an instance of 'libtorrent::invalid_encoding'
what(): invalid bencoding
Aborted
Expected behavior: complain about corrupted/malformed .torrent file.