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

Re: git fails: segfault at 0 ip 00000000004076d5 sp 00007fff7806ebc0

From
Jeff King <peff@peff.net>
Date
Oct 12, 2012, 17:12 UTC
Message-ID
<20121012171256.GA21409@sigill.intra.peff.net>
In-Reply-To
<CABPQNSbRYq43rADP6BaQ_Q2SB+M76rHdX3hOSpGQk2c5UNR5hg@mail.gmail.com>
On Fri, Oct 12, 2012 at 06:34:30PM +0200, Erik Faye-Lund wrote:
Show 13 quoted lines
> > Thanks for reporting. I gave it a quick go, and the issue seems to
> > also be present in the current 'master'.
> >
> > The problem is a NULL-pointer dereferencing introduced in 8809703
> > ("http: factor out http error code handling"), where the code assume
> > that slot->results still points to http_request::results. This
> > assumption seems to be wrong.
> >
> > This seems to step around the issue, but I don't know if
> > http_request::results should be set to NULL in the first place. Jeff?
> 
> OK, it seems I jumped the gun, and Jeff already sent out a patch for
> it. Nevermind me, then :)
Independent verification is never a bad thing. :)
-Peff
Previous: Erik Faye-Lund
Message 10 of 10 in “git fails: segfault at 0 ip 00000000004076d5 sp 00007fff7806ebc0”
  1. Brad HeinOct 12, 2012
  2. http: fix segfault in handle_curl_resultJeff King, Oct 12, 2012
  3. Jeff KingOct 12, 2012
  4. 1/2 remote-curl: do not call run_slot repeatedlyJeff King, Oct 12, 2012
  5. 2/2 http: do not set up curl auth after a 401Jeff King, Oct 12, 2012
  6. Brad HeinOct 12, 2012
  7. Junio C HamanoOct 12, 2012
  8. Erik Faye-LundOct 12, 2012
  9. Erik Faye-LundOct 12, 2012
  10. Jeff KingOct 12, 2012

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.