summaryrefslogtreecommitdiff
path: root/t/t4033-diff-patience.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2016-02-08 17:25:01 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-02-08 14:55:28 -0800
commitf58316db0ef1b25506c8cd6cc86b3071243a672a (patch)
tree968784c9eff47edb3a0b97e9e18422315ec4614c /t/t4033-diff-patience.sh
parentrerere: un-nest merge() further (diff)
downloadtgif-f58316db0ef1b25506c8cd6cc86b3071243a672a.tar.xz
rerere: replace strcpy with xsnprintf
This shouldn't overflow, as we are copying a sha1 hex into a 41-byte buffer. But it does not hurt to use a bound-checking function, which protects us and makes auditing for overflows easier. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4033-diff-patience.sh')
0 files changed, 0 insertions, 0 deletions