Code

Off-by-one error in get_path_prefix(), found by Valgrind
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>
Wed, 7 Jun 2006 18:05:43 +0000 (20:05 +0200)
committerJunio C Hamano <junkio@cox.net>
Wed, 7 Jun 2006 18:49:08 +0000 (11:49 -0700)
commit17cf250aff26d3baa6b311a3404f1a932e16cf17
treeb69bfe7cb653bb48e36f96bb21f92a382e04aec0
parent7fb23e6083dbefa8eb4c554d8b2cd5a6292b2df4
Off-by-one error in get_path_prefix(), found by Valgrind

[jc: original fix was done by Pavel and this contains improvements
 by Rene.]

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Acked-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-tar-tree.c