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

Handle missing offset to end header in 7z

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.20
    • Component/s: Archivers
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                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