AS 2.52 may create corrupted ZIP files

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

AS 2.52 may create corrupted ZIP files

Post by Jan Patera »

ZIP plugin 1.31 released together with AS 2.52 has a small bug that may cause slightly corrupted ZIP files.
The problem occurs if and only if a ZIP file created with the plugin contains one or more files that each has 4GB or more before and after compressing. Then only these files are not extractable. I.e. files smaller than 4GB or compressed to less than 4 GB or ZIP archives of any size with files smaller than 4 GB are not affected.

However, the corruption does not mean lost data. Only redundant data is not stored correctly and the ZIP files are still extractable, after a repair.

To this thread, there are attached:
1) Updated ZIP plugin 1.32 without this bug, it works with AS 2.52 or later. Just unpack it to the Plugins subfolder of AS 2.52
2) A command-line tool that can be used to repair the corrupted ZIP files
Attachments
FixZIP.rar
Command-line tool repairing corrupted ZIP files
(18.56 KiB) Downloaded 1020 times
zip-1.32.rar
ZIP plugin for AS 2.52
(101.68 KiB) Downloaded 751 times