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

Re: [PATCH] t: handle EOF in test_copy_bytes()

From
René Scharfe <l.s.r@web.de>
Date
Jul 16, 2017, 11:10 UTC
Message-ID
<c79eeaec-64e6-db27-d590-ab94a47394d1@web.de>
In-Reply-To
<20170716104718.i4nyphyzqh2mzhxt@sigill.intra.peff.net>
Am 16.07.2017 um 12:47 schrieb Jeff King:
Show 9 quoted lines
> On Sun, Jul 16, 2017 at 06:45:32AM -0400, Jeff King wrote:
> 
>> I was playing with SANITIZE=undefined after René's patches to see how
>> far we had left to go. I forgot to turn off sha1dc, which causes most
>> programs to die due to the unaligned loads. That means git-archive in
>> t5000 generates no output, triggering the bug. :)
> 
> And I was pleased to see that after setting OPENSSL_SHA1, the answer to
> "how far" is "we are there". Yay.

True with GCC, but not with Clang 3.9. A patch for alignment issues in dir.c is coming up..

René
Previous: Jeff KingNext: Jeff King
Message 3 of 4 in “t: handle EOF in test_copy_bytes()”
  1. t: handle EOF in test_copy_bytes()Jeff King, Jul 16, 2017
  2. Jeff KingJul 16, 2017
  3. René ScharfeJul 16, 2017
  4. Jeff KingJul 16, 2017

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.