Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-03-07 04:44:11 +0300
committerJunio C Hamano <junkio@cox.net>2007-03-07 21:41:33 +0300
commit2d88451b7a8cdd8bc233c7910c775bbb0ac76457 (patch)
tree476ded1e59e81b1d99ba1eca0cbe99d3fec89798 /builtin-grep.c
parent30fee0625d9e7012a3baf92c1315cfde751b8582 (diff)
Fix mmap leak caused by reading bad indexes.
If an index is corrupt, or is simply too new for us to understand, we were leaking the mmap that held the entire content of the index. This could be a considerable size on large projects, given that the index is at least 24 bytes * nr_objects. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-grep.c')
0 files changed, 0 insertions, 0 deletions