valgrind
PATCH 1/1 Fix off-by-one in read_tree_recursive
In reply to a message not in the archiveFound by valgrind.
--- tree.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
tree.c +1 -0
@@ -62,6 +62,7 @@ static int match_tree_entry(const char *base, int baselen, const char *path, unscontinue ;/* pathspecs match only at the directory boundaries */ if (!matchlen || + baselen == matchlen || base[matchlen] =='/' || match[matchlen -1 ] =='/' )return 1 ;
Signature · 1 line
1.6.2.1.493.g67cf3
Quoted 1 line · Johannes Schindelin
Found by valgrind.
How are you running valgrind? Do you have a test suite for it? A make target?
xoa
--
Andy Lester => [email protected] => www.theworkinggeek.com => AIM:petdance
Hi,
Quoted 6 lines · Andy Lester
Quoted 1 line · Johannes Schindelin
Found by valgrind.
How are you running valgrind? Do you have a test suite for it? A make target?
Yes, it was merged into Git:
http://repo.or.cz/w/alt-git.git?a=commitdiff;h=8a61097cde387870921e822bdf90b4ffd3792845
Hth,
Dscho
Quoted 3 lines · Johannes Schindelin
Yes, it was merged into Git:
http://repo.or.cz/w/alt-git.git?a=commitdiff;h=8a61097cde387870921e822bdf90b4ffd3792845
Very cool. In my Copious Free Time, I'm trying to get a splint target built up.
xoxo,
Andy
--
Andy Lester => [email protected] => www.theworkinggeek.com => AIM:petdance
Re: [PATCH] Fix off-by-one in read_tree_recursive
In reply to Johannes SchindelinThanks.
.