Revision 3d20c636af05c44a6ff4df9309c2bca108ee149b authored by Shawn O. Pearce on 10 February 2009, 21:36:12 UTC, committed by Junio C Hamano on 10 February 2009, 23:30:59 UTC
Otherwise we may reuse the same memory address for a totally
different "struct packed_git", and a previously cached object from
the prior occupant might be returned when trying to unpack an object
from the new pack.

Found-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent ab2fdb3
History
File Mode Size
.gitignore -rw-r--r-- 47 bytes
Git.pm -rw-r--r-- 34.6 KB
Makefile -rw-r--r-- 1.4 KB
Makefile.PL -rw-r--r-- 745 bytes
private-Error.pm -rw-r--r-- 18.6 KB

back to top