Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes zip64 headers #313

Merged
merged 1 commit into from
Jan 25, 2021
Merged

fixes zip64 headers #313

merged 1 commit into from
Jan 25, 2021

Commits on Jan 25, 2021

  1. fixes zip64 headers

    See also golang/go#33116
    
    The offset must be written into the central directory
    as 0xFFFFFFFF if it's going to be written in the zip64
    extended information field.
    
    https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT
    
    The following is the layout of the zip64 extended
    information "extra" block. If one of the size or
    offset fields in the Local or Central directory
    record is too small to hold the required data,
    a Zip64 extended information record is created.
    The order of the fields in the zip64 extended
    information record is fixed, but the fields MUST
    only appear if the corresponding Local or Central
    directory record field is set to 0xFFFF or 0xFFFFFFFF.
    jboelterintc committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    5ad44b4 View commit details
    Browse the repository at this point in the history