Skip to content

archive/tar: PAX does not take precedence over USTAR #15564

@dsnet

Description

@dsnet

Using go1.6

According to PAX standard, PAX fields take precedence over USTAR fields. Thus, if the file size fields from USTAR and PAX differ, PAX should take precedence. This is especially critical for large file support with PAX.

Example:
https://play.golang.org/p/Oxk0gb-yoC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions