[
https://issues.apache.org/jira/browse/COMPRESS-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Bodewig resolved COMPRESS-497.
-------------------------------------
Fix Version/s: 1.20
Resolution: Fixed
Merged your PR, many thanks!
> Handle missing offset to end header in 7z
> -----------------------------------------
>
> Key: COMPRESS-497
> URL: https://issues.apache.org/jira/browse/COMPRESS-497
> Project: Commons Compress
> Issue Type: Improvement
> Components: Archivers
> Reporter: Stefan Schlott
> Priority: Major
> Fix For: 1.20
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> When dealing with multipart 7z files, it may occur that the start header is
> invalid (all zeros) - see [https://www.7-zip.org/recover.html], section
> "There is no correct End Header at the end of archive". This can happen if
> the first part of the file is moved while the overall operation hasn't
> finished yet (the start header is written as very last step).
> Detect a missing start header (all bytes are zero) and try to guess the end
> header.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)