Bug in torrent file names

Hello all !

I found a bug in 1.48 version of BitComet (and in all previous versions too).

1) Please download a torrent file from here:

http://usbtor.ru/viewtopic.php?t=932

or

http://usbtor.ru/dl.php?id=1874

It has these 2 files:

Macrium Reflect Server Rus 7.0.2035.01.32.exe

Macrium Reflect Server Rus 7.0.2035.01.64.exe

2) Open this torrent in SIMPLE LIST mode and you got the names:

Macrium Reflect Server Rus 7.exe

Macrium Reflect Server Rus 7.exe

Where is the tail - ".0.2035.01.32.exe" ???????

and

Where is the tail - ".0.2035.01.64.exe" ???????

This is a bug in names! And if I try to download these files I got a HASH error always.

3) I think you need to change strchr to strrchr somethere in your code, which parses the path/name/extension of the files in torrent file !

Sorry for bad english.

Regards,

Arti

/monthly_2018_02/bitcomet_err.png.b84f051f1be00a0d94c7f40a4e5dc668.png" class=“ipsAttachLink ipsAttachLink_image”>

bitcomet_err.png

utorrent.png

deleteme.png

This is not a bug in Bitcomet

If you look closer at the list, they are all different files: You have 'Server', 'Home' (in 32 and 64 bit) and 'Server Plus' which is five different apps

Server 7.exe

Workstation.exe

Home .exe(32 bit)

Home .exe(64 bit)

Server Plus.exe

Hello Rhubarb,

No, you are not. It is a bug. A very interesting bug.

If you downloaded a torrent file in uTorrent and compare file list with BitComet you have got a differents in a list.

Regards,

Arti

Please see the torrent from URL http://usbtor.ru/dl.php?id=1874

There are no file with name "Macrium Reflect Server Rus 7.exe" at all, but BitComet show it !!!

Please compare with uTorrent list. Please see the picture attached.

It has no file "Macrium Reflect Server Rus 7.exe" but BitComet show it !!!

Torrent has two files:

Macrium Reflect Server Rus 7.0.2035.01.32.exeMacrium Reflect Server Rus 7.0.2035.01.64.exe

But BitComet has a bug in function for parsing the path/name/extension and parse these two files as one file:

Macrium Reflect Server Rus 7.exe

 

Reagrds,

Arti

/monthly_2018_02/utorrent.png.a43f1ef6783e494d01cde89cbc8072e3.png" class=“ipsAttachLink ipsAttachLink_image”>

I believe there is a bug here. I didn’t want to download nearly 300 GB to test it, but just loading the torrents in BC and uT shows a problem, 2 of 10 files are fine, the other 8 are both truncated and combined into 4 files. I suspect because they are so deep they exceed the max length, but that is just a guess.

I will report it to development team

/monthly_2018_02/deleteme.png.cd2cc78542fc07dc481acb52248e1ba0.png" class=“ipsAttachLink ipsAttachLink_image”>

I’m not convinced that it’s a BC bug - the torrent itself seems to act strangely. Besides the filenames, I’ve also found out that trying to seelct files to block or to download doesn’t work either. This hasn’t happened in any other doenload I’ve tried

perhaps there is a problem with the long file names so deep in the directory tree. I’ve seen this before when a member was downloading to a FAT32 drive which is much more limited. I don’t know what is causing this but it seems to work fine in uTorrent, but in Bitcomet 2 of the 10 mentioned files are fine, but the other 8 are slightly longer and are getting truncated which results in four of the remaining eight having the 32 and 64bit versions file names identical so the 8 files turn into 4.

Perhaps this file system error caused the other issues you noticed?

Have you tried it in uTorrent?

Either way, the development team are the only ones with access to Bitcomet's core and understands how it handles the files so they should be able to confirm what is going on here.

The development team has located the problem, the fix will be incorporated in the next version of Bit Comet.

Thank you for helping us improve the product.