summaryrefslogtreecommitdiff
path: root/t/t2102-update-index-symlinks.sh
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2018-06-10 12:56:31 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-06-18 10:03:38 -0700
commit94eff2b69a3dc662edac9984a08241d033e764d7 (patch)
tree10c554181a92b312049adc5535d0d53edfa2717b /t/t2102-update-index-symlinks.sh
parentmerge-recursive: fix check for skipability of working tree updates (diff)
downloadtgif-94eff2b69a3dc662edac9984a08241d033e764d7.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 't/t2102-update-index-symlinks.sh')
0 files changed, 0 insertions, 0 deletions