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

archive/zip: fix zip64 extra headers problems #33118

Closed

Commits on Jul 15, 2019

  1. archive/zip: fix zip64 extra headers problems

    The central-directory extra fields can contain either 8, 16 or 24 data bytes for ONLY the fields > uint32max (0xFFFFFFFF).
    
    They should not be all set when either CompressedSize, UncompressedSize or offset  > uint32max
    
    Fixes golang#33116
    philip-firstorder committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    c0c91c9 View commit details
    Browse the repository at this point in the history
  2. archive/zip: typo h.UncompressedSize > uint32max

    Should be h.UncompressedSize64 > uint32max
    
    Fixes golang#33116
    philip-firstorder committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    5333827 View commit details
    Browse the repository at this point in the history