Skip to content

Conversation

@benesch
Copy link
Contributor

@benesch benesch commented Aug 9, 2021

@alexcrichton @rocallahan this a resubmission of #258 with the rustfmt error fixed. (Sorry, we're a bit impatient to get a new release of tar with this fixed!)

@alexcrichton
Copy link
Owner

Thanks!

@alexcrichton alexcrichton merged commit d90a02f into alexcrichton:master Aug 10, 2021
dignifiedquire added a commit to dignifiedquire/async-tar that referenced this pull request Aug 23, 2021
dignifiedquire added a commit to dignifiedquire/async-tar that referenced this pull request Aug 24, 2021
* fix: do not create directories outside

ports alexcrichton/tar-rs#259

* fixups
charliermarsh added a commit to astral-sh/tokio-tar that referenced this pull request Feb 2, 2025
## Summary

This is a port of alexcrichton/tar-rs#259 which was later ported to `async-tar` in dignifiedquire/async-tar#24. The goal is to avoid allowing archives to create directories outside of the target path by deferring the creation of directories.

## Test Plan

`cargo test`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants