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

Re: [PATCH] bundle: do not free uninitialized memory on bad arguments

From
Harald Nordgren <haraldnordgren@gmail.com>
Date
Oct 19, 2026, 09:40 UTC
Message-ID
<CAHwyqnWxr3ZhPpM0WPCnJh-SHdGDZNE0ZJwA1jHhd+6-f0aEcw@mail.gmail.com>
In-Reply-To
<20261018142130.2701449-1-olof.fairbrook@gmail.com>
> -       struct rev_info revs, revs_copy;
> +       struct rev_info revs, revs_copy = { 0 };

I'm not familiar with this code, but the fix seems simple enough and has a test. Looks good.

Harald
Previous: Olof FairbrookNext: Olof Fairbrook
Message 4 of 6 in “bundle: do not free uninitialized memory on bad arguments”
  1. bundle: do not free uninitialized memory on bad argumentsOlof Fairbrook, Oct 18, 2026
  2. Patrick SteinhardtOct 19, 2026
  3. Olof FairbrookOct 19, 2026
  4. Harald NordgrenOct 19, 2026
  5. Olof FairbrookOct 19, 2026
  6. Junio C HamanoOct 19, 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.