backports: Copy mkdir_p TOCTOU fix from elixir PR 14242

See: https://github.com/elixir-lang/elixir/pull/14242
This commit is contained in:
Haelwenn (lanodan) Monnier 2025-01-30 15:50:50 +01:00
commit 00d536d9e2
No known key found for this signature in database
2 changed files with 73 additions and 0 deletions

View file

@ -0,0 +1 @@
Backport [Elixir PR 14242](https://github.com/elixir-lang/elixir/pull/14242) fixing racy mkdir and lack of error handling of parent directory creation