diff options
author | René Scharfe <l.s.r@web.de> | 2018-06-10 12:56:31 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-14 08:56:35 -0700 |
commit | 9da2d0379ea0220dd670d70b8af571a2a09b3c12 (patch) | |
tree | 73d0ddfd46a7b5c7d4f127fcb6db887ddc5e4385 /shortlog.h | |
parent | merge-recursive: ensure we write updates for directory-renamed file (diff) | |
download | tgif-9da2d0379ea0220dd670d70b8af571a2a09b3c12.tar.xz |
merge-recursive: use xstrdup() instead of fixed buffer
Paths can be longer than PATH_MAX. Avoid a buffer overrun in
check_dir_renamed() by using xstrdup() to make a private copy safely.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'shortlog.h')
0 files changed, 0 insertions, 0 deletions