File Deleting Bug in RAR unpacking
Moderators: Hacker, petermad, Stefan2, white
File Deleting Bug in RAR unpacking
Hello,
I need to report a reproducible bug that deletes files without a confirmation possibly causing serious data loss.
I have come across this bug while extracting some .rar files.
Steps to re-produce:
1- Create a multipart rar in target window
2- Switch to target window and extract the multipart archive
3- TC will ask whether to overwrite or not
4- Hitting Escape or clicking cancel will give the error in the screenshot and delete the file on the target window (hitting skip does not cause this)
The same does not happen when using a single rar.
I did the above several times to find the rar files that I've already extracted and whenever I saw "overwrite?" I knew this rar was eaerlier extracted, so safe to delete... Only to realize later that their earlier extracted counterparts got lost due to this bug.
Regards,
Screenshot:Screenshot:
http://img256.imageshack.us/i/bugd.png/
I need to report a reproducible bug that deletes files without a confirmation possibly causing serious data loss.
I have come across this bug while extracting some .rar files.
Steps to re-produce:
1- Create a multipart rar in target window
2- Switch to target window and extract the multipart archive
3- TC will ask whether to overwrite or not
4- Hitting Escape or clicking cancel will give the error in the screenshot and delete the file on the target window (hitting skip does not cause this)
The same does not happen when using a single rar.
I did the above several times to find the rar files that I've already extracted and whenever I saw "overwrite?" I knew this rar was eaerlier extracted, so safe to delete... Only to realize later that their earlier extracted counterparts got lost due to this bug.
Regards,
Screenshot:Screenshot:
http://img256.imageshack.us/i/bugd.png/
Last edited by bwh on 2009-11-03, 23:43 UTC, edited 1 time in total.
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
But then the file should be unpacked by Total Commander internally (no "Background" button available), right?use internal un-RAR if possible is checked
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Yeah, you can check the screenshot above, there is only Pause and Cancel (I hope I'm not stupidly skipping something crucial and end up embarrasing myself for stealing your timeghisler(Author) wrote:But then the file should be unpacked by Total Commander internally (no "Background" button available), right?use internal un-RAR if possible is checked

- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have checked it now - it seems that the file is kept when you click "OK", and it's deleted when you click "Cancel". I will try to find a solution.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Can someone test this error with TC 7.55 beta, please?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I don't mean to be a nuisance, but I can imagine a scenario where the following happens.
Let's assume, I have 5 different multi-part archives, each consisting of 3 parts for easiness' sake. I wildcard select with
NumPad+, input *.part1.rar as mask then hit Alt+F9.
Depending on target's existence, I'm given an "overwrite" window...I can either skip or skip all. Will a "skip this archive" button be beneficial? It would allow me to "skip all" that archive and will ask for each archive in the initial selected queue.
I don't know how clear I can draw the picture, and I'm not at all sure this is a necessary thing. Just a thought
Let's assume, I have 5 different multi-part archives, each consisting of 3 parts for easiness' sake. I wildcard select with
NumPad+, input *.part1.rar as mask then hit Alt+F9.
Depending on target's existence, I'm given an "overwrite" window...I can either skip or skip all. Will a "skip this archive" button be beneficial? It would allow me to "skip all" that archive and will ask for each archive in the initial selected queue.
I don't know how clear I can draw the picture, and I'm not at all sure this is a necessary thing. Just a thought
