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

Re: What's cooking in git.git (Jan 2025, #05; Fri, 17)

From
Jeff King <peff@peff.net>
Date
Jan 18, 2025, 13:15 UTC
Message-ID
<20250118131507.GA387197@coredump.intra.peff.net>
In-Reply-To
<xmqqwmetgdgm.fsf@gitster.g>
On Fri, Jan 17, 2025 at 04:42:01PM -0800, Junio C Hamano wrote:
Show 10 quoted lines
> * jk/pack-header-parse-alignment-fix (2025-01-17) 3 commits
>  - index-pack, unpack-objects: use skip_prefix to avoid magic number
>  - parse_pack_header_option(): avoid unaligned memory writes
>  - packfile: factor out --pack_header argument parsing
> 
>  It was possible for "git unpack-objects" and "git index-pack" to
>  make an unaligned access, which has been corrected.
> 
>  Will merge to 'next'.
>  source: <20250117125207.GB2356599@coredump.intra.peff.net>

I was planning to re-roll this with your sparse fix included, and adding another patch to do get_be32() on the reading side. So maybe hold off for a moment.

(I'd also be interested in any comments on the "maybe we should just align these buffers" approach; I'm undecided on it).

-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 23 in “What's cooking in git.git (Jan 2025, #05; Fri, 17)”
  1. Junio C HamanoJan 18, 2025
  2. Jeff KingJan 18, 2025
  3. Junio C HamanoJan 18, 2025
  4. Jeff KingJan 19, 2025
  5. Jeff KingJan 19, 2025
  6. Junio C HamanoJan 21, 2025
  7. David AguilarJan 20, 2025
  8. help: make help.autocorrect = 1 the same as "prompt"David Aguilar, Jan 20, 2025
  9. Junio C HamanoJan 21, 2025
  10. Derrick StoleeJan 21, 2025
  11. Junio C HamanoJan 21, 2025
  12. Taylor BlauJan 22, 2025
  13. Junio C HamanoJan 22, 2025
  14. Taylor BlauJan 23, 2025
  15. Junio C HamanoJan 23, 2025
  16. Karthik NayakJan 22, 2025
  17. Karthik NayakJan 22, 2025
  18. Junio C HamanoJan 22, 2025
  19. Junio C HamanoJan 23, 2025
  20. Patrick SteinhardtJan 23, 2025
  21. Junio C HamanoJan 23, 2025
  22. Karthik NayakJan 24, 2025
  23. Junio C HamanoJan 24, 2025

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.