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

Use std::env::temp_dir() for graveyard path #22

Merged
merged 1 commit into from
Apr 15, 2024
Merged

Conversation

MilesCranmer
Copy link
Owner

It is a potential security vulnerability to use /tmp as it may be accessible to multiple users. It is safer and more robust to simply write to whatever the operating system lists as the user's temporary directory. However, this is a breaking change.

It is a potential security vulnerability to use `/tmp` as it may be accessible to multiple users. It is safer and more robust to simply write to whatever the operating system lists as its temporary directory. However, this is a breaking change.
@MilesCranmer MilesCranmer merged commit e3eebff into master Apr 15, 2024
12 checks passed
@MilesCranmer MilesCranmer deleted the better-temp branch April 15, 2024 06:26
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.

None yet

1 participant