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

Re: git-send-pack SIGSEGV..

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 15, 2007, 05:50 UTC
Message-ID
<7vvedp935y.fsf@assigned-by-dhcp.pobox.com>
In-Reply-To
<alpine.LFD.0.98.0706142124380.14121@woody.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
> I *suspect* it's due to the refspec pattern matching changes Daniel did, 
> but again - I haven't actually debugged it any deeper.

I am officially recuperating from an operation I had today, so I cannot really take a deep look at this.

I think what is going wrong is that struct refspec for pattern match that is parsed by parse_ref_spec does not have ->dst component filled for "refs/tags/*" refspec, but match_refs() does not check if pat->dst is NULL, in which case it should reuse pat->src value.

Incidentally I have other remote.c fixes queued in 'next'. I haven't yet checked if I (accidentally) fixed this already.

Previous: Linus TorvaldsNext: Junio C Hamano
Message 3 of 10 in “git-send-pack SIGSEGV..”
  1. Linus TorvaldsJun 15, 2007
  2. Linus TorvaldsJun 15, 2007
  3. Junio C HamanoJun 15, 2007
  4. Junio C HamanoJun 15, 2007
  5. Alex RiesenJun 15, 2007
  6. Daniel BarkalowJun 15, 2007
  7. Linus TorvaldsJun 15, 2007
  8. Junio C HamanoJun 16, 2007
  9. Daniel BarkalowJun 16, 2007
  10. Junio C HamanoJun 16, 2007

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.