archive/zip: potential bug with zip64 check #56249
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?There seems to be a bug with zip64 check on this line:
go/src/archive/zip/reader.go
Line 557 in 9ddb8ea
Specifically the
d.directorySize == 0xffff
part. Size of central directory is a 32-bit value so it should be compared to 0xffffffff.The text was updated successfully, but these errors were encountered: