builtin-for-each-ref.c::copy_name() - do not overstep the buffer.
commit6b30852ded5074652f4304a303521932235c62db
authorJunio C Hamano <gitster@pobox.com>
Wed, 19 Sep 2007 08:52:59 +0000 (19 01:52 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Sep 2007 08:54:24 +0000 (19 01:54 -0700)
treee56406bbb3e6e4a653d06eb198d75f7a7b6c809a
parentca0328354afbf4ec6941cb4312bfc6908ab06d73
builtin-for-each-ref.c::copy_name() - do not overstep the buffer.

This was introduced during xmemdupz() conversion.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-for-each-ref.c