Skip to content

archive/zip: handle extra bytes after the zip index #5228

Description

@gopherbot

by meskio@sindominio.net:

What steps will reproduce the problem?
http://play.golang.org/p/69b8Bz5Les


What is the expected output?
[no output]


What do you see instead?
zip: not a valid zip file



Which operating system are you using?
Debian GNU/Linux


Which version are you using?  (run 'go version')
go version devel +1d49ee511d95 Fri Apr 05 15:23:03 2013 -0700 linux/amd64


Please provide any additional information below.
Zip library should support some extra bytes after the index. See the attached file, it's
the same as used on the example at "Go Playground". archive/go can not open it
unless we strip it with 'zip -A'.

Attachments:

  1. foo.zip (221 bytes)

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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions