Skip to content

minizip producing corrupted archives if large buffer is used #275

Closed

Description

@Agile86

image

image

Errors mostly for big files (>8Mb).

Activity

  1. nmoinvaz commented on Jul 4, 2018

    @nmoinvaz
    Member

    What are the errors? I can't read it.

  2. Agile86 commented on Jul 4, 2018

    @Agile86
    Author

    test case: take a large buffer (8Mb in my case), recompile minizip, zip some folder with big files, then try to unzip them with 7-zip, it will report about error in data. What exact error I don't know. If using default buffer size (32Kb) - there is no error.

  3. nmoinvaz commented on Jul 4, 2018

    @nmoinvaz
    Member

    I am not able to reproduce your results using 33GB zip file that has multiple files over 1GB. I don't have any errors and I don't know what error you have.

  4. nmoinvaz commented on Jul 7, 2018

    @nmoinvaz
    Member

    Is this related to LMZA too?

  5. Agile86 commented on Jul 7, 2018

    @Agile86
    Author

    yes

  6. nmoinvaz commented on Jul 7, 2018

    @nmoinvaz
    Member

    Ok I think I fixed it.

  7. Agile86 commented on Jul 7, 2018

    @Agile86
    Author

    Hope it's fixed, was hard to reproduce it.
    Once it just stop to reproducing...

  8. nmoinvaz commented on Jul 8, 2018

    @nmoinvaz
    Member

    I was able to reproduce it consistently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixedIssue or bug has been fixed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions