Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-86228

unzip is unable to open zip files >4GB in size created in Microsoft OneDrive

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.7
    • rhel-9.5
    • unzip
    • None
    • unzip-6.0-59.el9
    • No
    • Moderate
    • rhel-plumbers
    • ssg_core_services
    • 16
    • 20
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      The unzip command is unable to open zip files larger than 4GB that were generated in Microsoft OneDrive. This issue has been described in detail [here|https://www.bitsgalore.org/2020/03/11/does-microsoft-onedrive-export-large-ZIP-files-that-are-corrupt.] The issue stems due to OneDrive placing an incorrect '0' in the value for "number of total disks" (multipart archive), which, according to code comments, should start at 1.

      It was also reported upstream but it was never acknowledged. Other distributions have patched it.

      The patch applies cleanly to unzip-6.0-58, and with the patch, files can be opened normally.

              jamartis@redhat.com Jakub Martisko
              rhn-support-jsantos Juan Santos
              Jakub Martisko Jakub Martisko
              Radka Brychtova Radka Brychtova
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: