mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
archive/zip: handle files with data descriptors
Fixes #1471. R=rsc CC=golang-dev https://golang.org/cl/4183048
This commit is contained in:
parent
1778f50da3
commit
858972c3f9
4 changed files with 57 additions and 14 deletions
|
|
@ -4,6 +4,7 @@ const (
|
|||
fileHeaderSignature = 0x04034b50
|
||||
directoryHeaderSignature = 0x02014b50
|
||||
directoryEndSignature = 0x06054b50
|
||||
dataDescriptorLen = 12
|
||||
)
|
||||
|
||||
type FileHeader struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue