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

Prevent snooping around filesystem outside of bounds passed in Add(). #3

Merged
merged 1 commit into from
May 28, 2024

Conversation

fkautz
Copy link
Collaborator

@fkautz fkautz commented May 28, 2024

  • Constrains to what was added through Add()
  • Returns an error if a symlink attempts to break out of the current directory

Signed-off-by: Frederick Kautz fkautz@alumni.cmu.edu

* Constrains to what was added through Add()
* Returns an error if a symlink attempts to break out of the current directory

Signed-off-by: Frederick Kautz <fkautz@alumni.cmu.edu>
@fkautz fkautz merged commit ee1b305 into main May 28, 2024
1 check passed
@fkautz fkautz deleted the protect-against-snooping branch May 28, 2024 22:59
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.

1 participant