You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I believe the problem is the Extra data needs to include its own tag and len headers.
While I cannot find a tag for nano time headers, I can at fix zip.Reader to avoid
panicing when reading a corrupt Extra header.
Thanks for the education on this, too. Supplying the right input at the time I'm
writing the zipfile (and reading it back out properly) makes my app happy again.
It may be good to build a reader/writer utility for extras. I ended up with something
that looks a little too much like the reader code.
The text was updated successfully, but these errors were encountered: