aboutsummaryrefslogtreecommitdiffstats
path: root/xdiff-interface.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2025-12-06 14:29:43 +0100
committerJunio C Hamano <gitster@pobox.com>2025-12-07 07:28:13 +0900
commit7bef658135944d26acf3e1ec9316ca11f4369cf8 (patch)
tree2c68f8dc25f49bcf972b9501838847eed8572da8 /xdiff-interface.c
parent47bf14750eee7e43e12d20414d3698f203245a35 (diff)
downloadgit-7bef658135944d26acf3e1ec9316ca11f4369cf8.tar.gz
banned.h: ban mktemp(3)
Older versions of mktemp(3) generate easily guessable file names. The function checks if the generated name is used, which is unreliable, as a file with that name might then be created by some other process before we can do it ourselves. The function was dropped from POSIX due to its security problems. Forbid its use. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff-interface.c')
0 files changed, 0 insertions, 0 deletions