Use mkostemp() instead of insecure tmpfile() as fallback

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-10-06 17:51:07 +02:00
1 parent 48202ef19e
commit fae83c9be3
2 files changed
+10 -4

No files matched your search

+2 -1
View File
@@ -9,7 +9,8 @@ All notable changes to the project are documented in this file.
### Changes
### Fixes
- Fix issue with `tempfile()` returning EOPNOTSUPP on Azure
- Fix issue with `tempfile()` returning EOPNOTSUPP on Azure, use
fallback to `mkostemp()` with `O_CLOEXEC` flag set
[v2.4.0][] - 2021-03-27