Stefan Schlott created COMPRESS-497:
---------------------------------------

             Summary: 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


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)

Reply via email to