rerere: replace strcpy with xsnprintf
authorJeff King <peff@peff.net>
Mon, 8 Feb 2016 22:25:01 +0000 (17:25 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Feb 2016 22:55:28 +0000 (14:55 -0800)
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>
No differences found