Files
git/compat
René Scharfe ae25974de3 mingw: avoid mktemp() in mkstemp() implementation
The implementation of mkstemp() for MinGW uses mktemp() and open()
without the flag O_EXCL, which is racy.  It's not a security problem
for now because all of its callers only create files within the
repository (incl. worktrees).  Replace it with a call to our more
secure internal function, git_mkstemp_mode(), to prevent possible
future issues.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-07-14 22:45:05 -07:00
..
2020-04-16 15:23:42 -07:00
2022-03-24 00:24:29 +01:00
2019-06-25 10:46:57 -07:00
2021-02-26 14:15:51 -08:00
2017-01-23 11:02:34 -08:00
2021-10-29 15:00:58 -07:00