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

Re: [PATCH] Fix regression in fast-import.c due to strbufs.

From
Ccpettitt <cpettitt@gmail.com>
Date
Oct 26, 2007, 16:39 UTC
Message-ID
<de47e4420710260939h65fbf62dg8d1644a5cd879c23@mail.gmail.com>
In-Reply-To
<20071026075912.GA25365@artemis.corp>
On 10/26/07, Pierre Habouzit <madcoder@debian.org> wrote:
> Without this strbuf_release, it yields a double free later, the command is
> in fact stashed, and this is not a memory leak.
>
> Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Pierre,
You nailed it! No more double frees and no segfault.

Thanks, Chris

Previous: Pierre HabouzitNext: Pierre Habouzit
Message 4 of 7 in “git-fast-import segfaults”
  1. cpettittOct 26, 2007
  2. Shawn O. PearceOct 26, 2007
  3. Fix regression in fast-import.c due to strbufs.Pierre Habouzit, Oct 26, 2007
  4. cpettittOct 26, 2007
  5. Pierre HabouzitOct 26, 2007
  6. Shun Kei LeungOct 29, 2007
  7. Pierre HabouzitOct 29, 2007

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.