-
Notifications
You must be signed in to change notification settings - Fork 697
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
Unvendoring of 'tar' breaks unpacking #3390
Comments
@dcoutts, can you please look into this? |
Same issue on the |
Ok. |
Note that haskell/tar#1 is a different issue really. That's about wholesale support for PAX, this issue was just about ignoring PAX headers for the purposes of the tarbomb check. This check had been added to the tar code in cabal-install but never ported over to the main tar package. |
Confirmed that tar-0.5.0.3 fixes the issue. Updated the version bound in the repo and on Hackage. |
Commit 0db3b21 introduces a dependancy on a tarbomb check that can't handle many hackage packages.
For example:
The old code handled POSIX.1-2001/pax tarballs specificly, of which there are many on hackage. The code in the tar package does not understand the pax records, and errors on them thinkng they're "normal files" in the wrong location.
These packages did install properly in the last cabal-install version.
The text was updated successfully, but these errors were encountered: