summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Jim Meyering <jim@meyering.net>2012-04-16 17:20:02 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-04-16 10:10:25 -0700
commit48e510b6a29b1066016cbbee75c0b196174a88d4 (patch)
treefe568b4ff1151c6f067383bf4594df728d45ea6c /Makefile
parentMerge branch 'maint-1.7.8' into maint-1.7.9 (diff)
downloadtgif-48e510b6a29b1066016cbbee75c0b196174a88d4.tar.xz
diff: avoid stack-buffer-read-overrun for very long name
Due to the use of strncpy without explicit NUL termination, we could end up passing names n1 or n2 that are not NUL-terminated to queue_diff, which requires NUL-terminated strings. Ensure that each is NUL terminated. Signed-off-by: Jim Meyering <meyering@redhat.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions