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

Re: Possibly solved invalid free() in git-remote-http from Git 1.7.2.1

From
Jeff King <peff@peff.net>
Date
Aug 2, 2011, 03:33 UTC
Message-ID
<20110802033344.GA17494@sigill.intra.peff.net>
In-Reply-To
<20110802105124.000021c3@unknown>
On Tue, Aug 02, 2011 at 10:51:24AM +0800, Tay Ray Chuan wrote:
Show 5 quoted lines
> On Mon, 1 Aug 2011 12:00:19 -0600
> Jeff King <peff@peff.net> wrote:
> > Hmm. The memory management in the function seems weird to me.
> 
> How about this?

Yes, that fixes all of the oddities I found (I assume you looked and agreed with me that they were wrong).

-Peff
Previous: Tay Ray ChuanNext: Tay Ray Chuan
Message 6 of 7 in “Possibly solved invalid free() in git-remote-http from Git 1.7.2.1”
  1. Ævar Arnfjörð BjarmasonAug 1, 2011
  2. Ævar Arnfjörð BjarmasonAug 1, 2011
  3. Ævar Arnfjörð BjarmasonAug 1, 2011
  4. Jeff KingAug 1, 2011
  5. Tay Ray ChuanAug 2, 2011
  6. Jeff KingAug 2, 2011
  7. http.c: fix an invalid free()Tay Ray Chuan, Aug 3, 2011

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.