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

Securely pre-create log file, and honor $TMPDIR #67

Merged
merged 1 commit into from
May 6, 2019

Conversation

waoki
Copy link
Contributor

@waoki waoki commented Apr 25, 2019

This addresses issue #65 by using mktemp(1) to pre-create the compilation log before writing to it, preventing symlink attacks. It also specifies the -t argument so that mktemp will honor $TMPDIR.

mktemp is widely implemented, so this should not introduce portability issues.

@lpryszcz lpryszcz merged commit ffae69e into Gabaldonlab:master May 6, 2019
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

2 participants