mirror of
https://github.com/git/git.git
synced 2026-01-10 01:56:42 +00:00
Merge branch 'rs/ban-mktemp'
Rewrite the only use of "mktemp()" that is subject to TOCTOU race and Stop using the insecure "mktemp()" function. * rs/ban-mktemp: compat: remove gitmkdtemp() banned.h: ban mktemp(3) compat: remove mingw_mktemp() compat: use git_mkdtemp() wrapper: add git_mkdtemp()
This commit is contained in:
@@ -411,10 +411,6 @@ if(NOT HAVE_SETENV)
|
||||
list(APPEND compat_SOURCES compat/setenv.c)
|
||||
endif()
|
||||
|
||||
if(NOT HAVE_MKDTEMP)
|
||||
list(APPEND compat_SOURCES compat/mkdtemp.c)
|
||||
endif()
|
||||
|
||||
if(NOT HAVE_PREAD)
|
||||
list(APPEND compat_SOURCES compat/pread.c)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user