--- Micah Anderson <[EMAIL PROTECTED]> wrote:
> Do you mean that you have a corrupt .torrent file
> that has a path like
> /a/b//c/filename where there is an empty componant
> between b and c?

I get a .torrent file like:
...
directory name: test
files.........: 
   by someone/ (0)

I guess it's actually some seed maker list empty
directory in that way. But bittornado treat it as a
filename with a path.

> The change you suggest wouldn't work, it would allow
> a regular file
> with path componants 'a', 'b', '' which would cause
> an exception later
> when it tried to create such a file with an empty
> name.

Now it seems this is what I am seeing. With the change
sugguested, an empty directory of 'me' was created
without exception.

> 
> The mainline bittorrent code now just ignores files
> with an illegal
> path as long as they have size 0.

This could be the solution. Anyway, the bug just shows
that there are seed maker do such things out there.


Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to