Re: [PATCH] Fix use after free() in builtin-fetch
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 29, 2008, 07:30 UTC
- Message-ID
- <7vtzhl6rtp.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080428202335.GA10600@steel.home>
Alex Riesen <raa.lkml@gmail.com> writes:
Show 9 quoted lines
> 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 <raa.lkml@gmail.com>
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.