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
sha1.c -rw-r--r-- 1.4 KB
sha1.h -rw-r--r-- 396 bytes
sha1ppc.S -rw-r--r-- 7.3 KB

back to top