aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-03-06 20:44:11 -0500
committerJunio C Hamano <junkio@cox.net>2007-03-07 10:41:33 -0800
commit2d88451b7a8cdd8bc233c7910c775bbb0ac76457 (patch)
tree476ded1e59e81b1d99ba1eca0cbe99d3fec89798 /contrib
parent30fee0625d9e7012a3baf92c1315cfde751b8582 (diff)
downloadgit-2d88451b7a8cdd8bc233c7910c775bbb0ac76457.tar.gz
git-2d88451b7a8cdd8bc233c7910c775bbb0ac76457.tar.xz
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 'contrib')
0 files changed, 0 insertions, 0 deletions