In some rear cases there is a situation possible, when a corrupted archive file is not detected by TC as corrupted: it is shown just as empty archive, unpacking gives no effect, test archive function shows no errors. But WinRAR can find errors in this archive and reports that the archive is incorrect.
Here are the links to the example original and modified archive (the original one was just opened in Notepad and some part of code was cut):
Original archive
Corrupted archive
I think, TC should report about even such incorrections, else user may think that the archive is really empty and remove it, while the archive could be repairable it and the user could save some data from it.
[Bug?] Internal RAR unpacker does not detect corruption.
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50817
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This can happen if a file header contains data which TC doesn't understand. Such headers are skipped because they may contain data for newer versions of RAR.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
ghisler(Author)
Hm... So, maybe, it's better to show some message box, that the header cannot be recognized? So that user could distinguish such archives from the usual empty archives.
Hm... So, maybe, it's better to show some message box, that the header cannot be recognized? So that user could distinguish such archives from the usual empty archives.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
Both the same---
2Flint
Hello
- Odd, I've the usual error message "Error in the packed file…" for your two samples… ???
• Both have exactly the same size = 4250 bytes
• I dowloaded them alright from the links you give above.
Under Win 98 SE.
Kind regards,
Claude
Clo

- Odd, I've the usual error message "Error in the packed file…" for your two samples… ???
• Both have exactly the same size = 4250 bytes
• I dowloaded them alright from the links you give above.
Under Win 98 SE.

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Clo
This is strange, I've just tried to download them both - and got the same files that I uploaded. The original archive - 2829 bytes, the corrupted one - 1591 bytes.
I packed both archive files into one archive and placed it on the webfile.ru service, please, try to download it from there: http://webfile.ru/276062
This is strange, I've just tried to download them both - and got the same files that I uploaded. The original archive - 2829 bytes, the corrupted one - 1591 bytes.
I packed both archive files into one archive and placed it on the webfile.ru service, please, try to download it from there: http://webfile.ru/276062
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
New samples are OK
2Flint
This works like you told with the new samples !
- So, I can confirm now : I did NOT get any error message for the corrupted RAR, and nothing more occured…
- The "Original" archive is unpacked normally…
Kind regards,
Claude
Clo

- So, I can confirm now : I did NOT get any error message for the corrupted RAR, and nothing more occured…
- The "Original" archive is unpacked normally…

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
2 Christian:
So, what about implementing such message box? In TC 6.53 there are still no messages in such cases...
So, what about implementing such message box? In TC 6.53 there are still no messages in such cases...
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64