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
zip.NewReader returns ErrInsecurePath when opening a zip archive containing an insecure path and when GODEBUG=zipinsecurepath=0 is set, but we (I) overlooked OpenReader. (I thought OpenReader was implemented in terms of NewReader, but no.)
The text was updated successfully, but these errors were encountered:
zip.NewReader was recently improved to return ErrInsecurePath when insecure
entries are encountered (85a2c19).
This change adopts the same logic for the OpenReader interface as well.
Fixesgolang#58641
zip.NewReader was recently improved to return ErrInsecurePath when
insecure entries are encountered.
This change adopts the same logic for the OpenReader interface as well.
Fixesgolang#58641
irsl
added a commit
to irsl/go-zip-openreader
that referenced
this issue
Mar 6, 2023
zip.NewReader was recently improved to return ErrInsecurePath when
insecure entries are encountered.
This change adopts the same logic for the OpenReader interface as well.
Fixesgolang#58641
irsl
added a commit
to irsl/go-zip-openreader
that referenced
this issue
Mar 7, 2023
zip.NewReader was recently improved to return ErrInsecurePath when
insecure entries are encountered.
This change adopts the same logic for the OpenReader interface as well.
Fixesgolang#58641
zip.NewReader
returnsErrInsecurePath
when opening a zip archive containing an insecure path and whenGODEBUG=zipinsecurepath=0
is set, but we (I) overlookedOpenReader
. (I thoughtOpenReader
was implemented in terms ofNewReader
, but no.)The text was updated successfully, but these errors were encountered: