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/tar: Writer outputs invalid PAX format after writing GNU format #17665

Closed
dsnet opened this issue Oct 29, 2016 · 2 comments
Closed

archive/tar: Writer outputs invalid PAX format after writing GNU format #17665

dsnet opened this issue Oct 29, 2016 · 2 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@dsnet
Copy link
Member

dsnet commented Oct 29, 2016

This is not a regression and has been the behavior since Go1.4.2, possibly way earlier.

The problem:

It is highly likely that we have been generating invalid PAX files under certain circumstances. The reason why this has not been reported yet is because the the GNU and BSD tar tools both liberally accept these invalid files without complaint. In fact, our own Reader liberally accepts this invalid hybrid of both GNU and PAX.

@dsnet dsnet added the NeedsFix The path to resolution is known, but the work has not been done. label Oct 29, 2016
@dsnet dsnet added this to the Go1.8Maybe milestone Oct 29, 2016
@dsnet dsnet self-assigned this Oct 29, 2016
@dsnet
Copy link
Member Author

dsnet commented Oct 29, 2016

@gopherbot
Copy link

Change https://golang.org/cl/55550 mentions this issue: archive/tar: remove writeHeader and writePAXHeaderLegacy

@golang golang locked and limited conversation to collaborators Aug 14, 2018
@rsc rsc unassigned dsnet Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

2 participants