Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-497

Handle missing offset to end header in 7z

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.20
    • Archivers
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              skyr Stefan Schlott
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m