builtin-mv: fix use of uninitialized memory.
commit329a304714255f6e5528b4311d29f9d83c85d201
authorJunio C Hamano <junkio@cox.net>
Tue, 8 Aug 2006 19:21:33 +0000 (8 12:21 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 8 Aug 2006 19:47:55 +0000 (8 12:47 -0700)
tree22c27e9f7ada2b9bcd80a3d53b80ad152c5a1ea0
parentaa5481c1af08edbca821a0d025d26e9bc41a5c49
builtin-mv: fix use of uninitialized memory.

Juergen Ruehle noticed that add_slash() tries to strcat()
into uninitialized memory and fails.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-mv.c