Off-by-one error in get_path_prefix(), found by Valgrind
authorRene Scharfe <redacted>
Wed, 7 Jun 2006 18:05:43 +0000 (20:05 +0200)
committerJunio C Hamano <redacted>
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 <redacted>
Acked-by: Pavel Roskin <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin-tar-tree.c
git clone https://git.99rst.org/PROJECT