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

Re: [PATCH] pack-bitmap: add loading corrupt bitmap_index test

From
Patrick Steinhardt <ps@pks.im>
Date
May 19, 2025, 07:27 UTC
Message-ID
<aCrdWbcOtbYsw8t6@pks.im>
In-Reply-To
<80BCF957-002B-4532-8E3D-8CAB45AC0349@smail.nju.edu.cn>
On Mon, May 19, 2025 at 02:44:22PM +0800, lidongyan wrote:
Show 8 quoted lines
> 2025年5月19日 14:02,Patrick Steinhardt <ps@pks.im> 写道:
> > Okay. We _can_ do that now, but the patch doesn't explain why we
> > _should_.
> 
> The main purpose of this patch is to provide a test case to check whether
>  a memory leak occurs when loading a corrupt index file as requested here
> https://lore.kernel.org/git/20250514180325.GB2196784@coredump.intra.peff.net.
> A potential memory leak is mentioned in this patch here https://lore.kernel.org/git/pull.1962.git.git.1747052530271.gitgitgadget@gmail.com/.

Wouldn't it make sense to include this in a v2 of that patch series then? That makes it way easier for the reviewer to draw the connection and allows you to draft commit messages in a way that they refer to one another.

Patrick
Previous: lidongyanNext: lidongyan
Message 4 of 7 in “pack-bitmap: add loading corrupt bitmap_index test”
  1. pack-bitmap: add loading corrupt bitmap_index testLidong Yan via GitGitGadget, May 17, 2025
  2. Patrick SteinhardtMay 19, 2025
  3. lidongyanMay 19, 2025
  4. Patrick SteinhardtMay 19, 2025
  5. lidongyanMay 19, 2025
  6. Jeff KingMay 19, 2025
  7. lidongyanMay 19, 2025

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.