Subject: Re: [PATCH] Fix use after free() in builtin-fetch

From: Junio C Hamano <[email-masked]>
Date: Tue, 29 Apr 2008 00:30:42 -0700

Alex Riesen <[email-masked]> writes:

> As reported by Dave Jones:
> ...
> export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
>
> which is handy for showing up such bugs.
>
> More info on this glibc feature is at http://udrepper.livejournal.com/11429.html
>
> Signed-off-by: Alex Riesen <[email-masked]>

Thanks.  I can reproduce the issue and the fix (and can even bisect this
down to ba22785 (Reduce the number of connects when fetching, 2008-02-04),
which makes perfect sense).

Will apply to 'maint' and merge up.