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

Re: [RFC/PATCH] ignore memcmp() overreading in bsearch() callback

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 15, 2013, 02:45 UTC
Message-ID
<7va9sb6u68.fsf@alter.siamese.dyndns.org>
In-Reply-To
<alpine.DEB.1.00.1301150055520.32206@s15462909.onlinehome-server.info>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 10 quoted lines
> On Mon, 14 Jan 2013, Junio C Hamano wrote:
>
>> It appears that memcmp() uses the usual "one word at a time"
>> comparison and triggers valgrind in a callback of bsearch() used in
>> the refname search.  I can easily trigger problems in any script
>> with test_commit (e.g. "sh t0101-at-syntax.sh --valgrind -i -v")
>> without this suppression.
>
> I have no way to replicate that issue, but I take your word for it. With
> that in mind, here is my ACK.
Thanks.
Previous: Johannes SchindelinNext: Jeff King
Message 3 of 9 in “ignore memcmp() overreading in bsearch() callback”
  1. ignore memcmp() overreading in bsearch() callbackJunio C Hamano, Jan 14, 2013
  2. Johannes SchindelinJan 14, 2013
  3. Junio C HamanoJan 15, 2013
  4. Jeff KingJan 15, 2013
  5. Junio C HamanoJan 15, 2013
  6. Jeff KingJan 15, 2013
  7. René ScharfeJan 15, 2013
  8. Andreas SchwabJan 15, 2013
  9. René ScharfeJan 16, 2013

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.