git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Alex Riesen
Message 3 of 3 in “git-fetch segfault in git 1.5.5.1”
  1. Dave JonesApr 28, 2008
  2. Fix use after free() in builtin-fetchAlex Riesen, Apr 28, 2008
  3. Junio C HamanoApr 29, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.