Menu

#2500 ZIP file with encrypted content: There are data after the end of archive

None
open-accepted
nobody
None
5
2024-08-09
2024-08-08
No

7zip creates a zip file with one large file (which is encrypted and can not be compressed further, as far as I can tell), and then its own integrity test fails with "There are data after the end of archive". Reproduced with 24.05 and 24.07, but 23.01 seems fine. Tried the same with extension 7z - looks fine on all three tested versions.

5 Attachments

Discussion

  • Igor Pavlov

    Igor Pavlov - 2024-08-09

    Thanks!
    I'll fix it in next version soon.

    • The bug in 7-Zip 24.00-24.07:
      For creating a zip archive: 7-Zip could write extra zero bytes after the end of the archive, if a file included to archive cannot be compressed to a size smaller than original.
      The created zip archive is correct except of useless zero bytes after the end of the archive.
     
  • Igor Pavlov

    Igor Pavlov - 2024-08-09
    • status: open --> open-accepted
    • Group: -->
     

Log in to post a comment.