summaryrefslogtreecommitdiff
path: root/t/t1307-config-blob.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-14 08:56:35 -0700
commit9da2d0379ea0220dd670d70b8af571a2a09b3c12 (patch)
tree73d0ddfd46a7b5c7d4f127fcb6db887ddc5e4385 /t/t1307-config-blob.sh
parentmerge-recursive: ensure we write updates for directory-renamed file (diff)
downloadtgif-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 't/t1307-config-blob.sh')
0 files changed, 0 insertions, 0 deletions