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

Re: use-after-free leads to git-blame writing garbage in error message

From
LFLukas Fleischer <git@cryptocrack.de>
Date
Feb 3, 2015, 09:32 UTC
Message-ID
<20150203093245.3733.71523@typhoon>
In-Reply-To
<20150203091715.GA25445@glandium.org>
On Tue, 03 Feb 2015 at 10:17:15, Mike Hommey wrote:
Show 10 quoted lines
> Symptoms:
>   $ git blame HEAD -- foo
>   fatal: no such path foo in <random garbage>
> 
> Expected output:
>   $ git blame HEAD -- foo
>   fatal: no such path foo in HEAD
> 
> Bisect says this was introduced in 1da1e07c835e900337714cfad6c32a8dc0b36ac3
> [...]

This should be fixed by commit a46442f (blame.c: fix garbled error message, 2015-01-12) which is in next.

Previous: Mike HommeyNext: Mike Hommey
Message 2 of 3 in “use-after-free leads to git-blame writing garbage in error message”
  1. Mike HommeyFeb 3, 2015
  2. Lukas FleischerFeb 3, 2015
  3. Mike HommeyFeb 3, 2015

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.