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

Re: [PATCH] notes: avoid leaking duplicate entries

From
Mike Hommey <mh@glandium.org>
Date
Aug 26, 2019, 01:55 UTC
Message-ID
<20190826015502.qbgn557xjylju4o6@glandium.org>
In-Reply-To
<20190825051818.9621-1-mh@glandium.org>
On Sun, Aug 25, 2019 at 02:18:18PM +0900, Mike Hommey wrote:
> When add_note is called multiple times with the same key/value pair, the
> leaf_node it creates is leaked by notes_tree_insert.
For completeness, since I realized it was missing:
Signed-off-by: Mike Hommey <mh@glandium.org>
Mike
Previous: Jeff King
Message 4 of 4 in “notes: avoid leaking duplicate entries”
  1. notes: avoid leaking duplicate entriesMike Hommey, Aug 25, 2019
  2. Jeff KingAug 25, 2019
  3. notes: avoid potential use-after-free during insertionJeff King, Aug 25, 2019
  4. Mike HommeyAug 26, 2019

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.