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

Re: [PATCH] ref-filter: fix double free when an object is missing

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 12, 2026, 20:29 UTC
Message-ID
<xmqqqzgphjyb.fsf@gitster.g>
In-Reply-To
<CAOLa=ZQuT5+x-Rvxcv1CSYka3aGG2nV_hPFRDTYJEGgjbLhJwA@mail.gmail.com>
Karthik Nayak <karthik.188@gmail.com> writes:
Show 7 quoted lines
>> Similar to `maybe_object`, reset `content` at the start of get_object().
>> Add a regression test that exercises this path.
>
> I had only reviewed this patch internally and we did some iterations
> there [1], so mostly just rubber-stamping here that it looks good to me.
>
> Thanks for working on this!

I take the above with "only" -> "already". Thanks for writing and reviewing.

Will queue and mark the topic ready for 'next'. The patch is very well written, together with historical reference and all.

Thanks.
Previous: Karthik NayakNext: Karthik Nayak
Message 3 of 4 in “ref-filter: fix double free when an object is missing”
  1. ref-filter: fix double free when an object is missingMustafa Bayar via B4 Relay, Nov 12, 2026
  2. Karthik NayakNov 12, 2026
  3. Junio C HamanoNov 12, 2026
  4. Karthik NayakNov 12, 2026

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.