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
Mike Hommey <mh@glandium.org>
Date
Feb 3, 2015, 09:38 UTC
Message-ID
<20150203093843.GA14981@glandium.org>
In-Reply-To
<20150203093245.3733.71523@typhoon>
On Tue, Feb 03, 2015 at 10:32:45AM +0100, Lukas Fleischer wrote:
Show 12 quoted lines
> On Tue, 03 Feb 2015 at 10:17:15, Mike Hommey wrote:
> > 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.
Indeed it is, I should have checked next.
Thanks.
Mike
Previous: Lukas Fleischer
Message 3 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.