Skip to content

archive/zip: crash opening zip file with corrupt extras defined #4302

Description

@dustin
I've got some code that stores timestamps in an extras header in a zip.  As of some
post-1.0.3 version, one of my tests started failing.  I've got it narrowed down to
approximately the following:

http://play.golang.org/p/kfigcf76RE

If you comment out the Extras in the header, the test passes fine.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions