* Create a text file named "123.txt" containing the text "123"
* Pack the file using ZIP compression into a file named "123.zip"
* Edit the file named "123.zip" using a hex editor and look for "123.txt" at the end. Remove everything after the dot and save the file.
* Test the corrupted zip file in Total Commander. The error "Error in archive file!" is shown.
* Copy the corrupted zip file to another folder or to another name. Or simply move the corrupted zip file to another folder.
* Test the corrupted zip file in Total Commander. No error is shown!
* Test other similar corrupted zip files in Total Commander. No error is shown!
* Close Total Commander and start Total Commander again. Or simply test a valid zip file.
* Test the corrupted zip file in Total Commander. The error "Error in archive file!" is shown.
This bug is also present in earlier versions of Total Commander. At least since Windows Commander 5.00.
Corrupted zip file (UUEncoded):
Code: Select all
begin 644 123bad.zip
M4$L#!!0``@`(`.Z<%#O28TB(!0````,````'````,3(S+G1X=#,T,@8`4$L!
M`A0`%``"``@`[IP4.])C2(@%`````P````<````````````@`````````#$R
",RX`
`
end
sum -r/size 4474/92