From: Junio C Hamano Date: Sat, 02 Sep 2006 01:52:55 GMT Subject: Re: [PATCH] pack-objects: re-validate data we copy from elsewhere. Message-ID: <7vr6yv3uh4.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > On Fri, 1 Sep 2006, Junio C Hamano wrote: >> >> [...] Instead make sure they are not corrupt, but >> do so only when we are not streaming to stdout, [...] > > Hmm. I see you making pack_to_stdout available to those functions, but I > don't actually see you using it - looks like you revalidate regardless. > > Which is safe, of course, but it doesn't match your description ;) Oops, that was a thinko. My previous crappoid had if (pack_to_stdout) return 0; at the beginning of revalidate function. -- VGER BF report: U 0.499951