redhobor / transmisson-remote-gui

Automatically exported from code.google.com/p/transmisson-remote-gui
GNU General Public License v2.0
0 stars 0 forks source link

Torrents containing file name ending in a ":" colon deadlocks Transmisson-remote-gui #744

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a torrent that contains a file named ending in a ":" colon.
2. Transmisson-remote-gui v5.01 deadlocks.
3. Kill then restart Transmisson-remote-gui v5.01 and click on the files tab of 
the offending torrent for another deadlock.

What is the expected output? What do you see instead?
The expected output is the torrent is added without a deadlock and no deadlock 
when displaying the files tab of the now added torrent.
Instead transmisson-remote-gui v5.01 deadlock/hangs with 100% cpu in both 
cases. 

What version of the product are you using? On what operating system?
Using transmission daemon 2.77 or 2.82 on Linux server. transmisson-remote-gui 
v5.01 on Windows XP sp3 or Windows 7.

Please provide any additional information below.
Only seems to happen with files ending with a colon. A colon elsewhere is OK. 
Other "Windows Reserved" characters seem to function correctly. I do not know 
if similar behavior for transmisson-remote-gui v5.01 Mac or Linux since I am 
not running it there. Attached is a test torrent that produces the hang for me.

Original issue reported on code.google.com by s...@yourfreemail.info on 7 Feb 2014 at 6:42

Attachments:

GoogleCodeExporter commented 9 years ago
I had the same lock-up problem with ":" being inside a file name. This char is 
not allowed in windows file system and transmission does not handle this 
situation.

Original comment by Arturs.J...@gmail.com on 17 May 2014 at 5:45

GoogleCodeExporter commented 9 years ago
Would be nice if all forbidden characters for file/path name are filtered when 
renaming.

Original comment by thr...@gmail.com on 28 Jan 2015 at 4:25