Skip to content

Problem reading archives containg Zip64 files  #735

@andrea-parisi

Description

@andrea-parisi

Steps to reproduce

  1. Create a ZipFile using on iOS with password for example
    Moduli.zip (Password DEDALUS)
  2. Extract the previous file

Expected behavior

Extract the contained file

Actual behavior

Throw ZipException "Size invalid for descriptor"

Version of SharpZipLib

1.3.3 but also verified against master

Obtained from (only keep the relevant lines)

  • Compiled from source
  • Package installed using NuGet 1.3.3

I think that the condition size != -1 in the method TestLocalHeader is wrong. but must be size > 0. In my case the value of size is 0 and also compressedSize value is 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions