Skip to content

fix directory checking if dir.create fails because directory already exists#753

Merged
karawoo merged 2 commits intomainfrom
kara-race-fix
Mar 19, 2026
Merged

fix directory checking if dir.create fails because directory already exists#753
karawoo merged 2 commits intomainfrom
kara-race-fix

Conversation

@karawoo
Copy link
Copy Markdown
Contributor

@karawoo karawoo commented Mar 13, 2026

makes ensureDirectory a little more robust to TOCTOU races

@karawoo karawoo changed the title fix directory checking fix directory checking if dir.create fails because directory already exists Mar 16, 2026
@karawoo karawoo marked this pull request as ready for review March 16, 2026 18:49
@karawoo karawoo requested a review from aronatkins March 16, 2026 19:40
@karawoo karawoo merged commit f271483 into main Mar 19, 2026
10 checks passed
@karawoo karawoo deleted the kara-race-fix branch March 19, 2026 19:54
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.

2 participants