From: René Scharfe Date: Wed, 03 Dec 2025 10:45:13 GMT Subject: [PATCH 0/4] ban mktemp(3) Message-ID: <784f495a-4b1a-4acf-96cd-599243ef9e27@web.de> mktemp(3) is insecure and POSIX.1-2008 no longer specifies it. Stop using it. wrapper: add git_mkdtemp() compat: use git_mkdtemp() compat: remove mingw_mktemp() banned.h: ban mktemp(3) banned.h | 3 +++ compat/mingw-posix.h | 3 --- compat/mingw.c | 12 ------------ compat/mkdtemp.c | 4 +--- wrapper.c | 17 +++++++++++++++-- wrapper.h | 2 ++ 6 files changed, 21 insertions(+), 20 deletions(-) -- 2.52.0