Download raw body.
MurmurHash2 unaligned access
On Thu, 14 Oct 2021 14:36:24 +0200, Stefan Sperling wrote: > I have tried a few things but I cannot get the current in-tree code > to fault on sparc64. Neither my 'got he -l' test and a toy program I wrote > managed to trigger the issue. Just out of curiousity, can you produce a short > program that calls murmurhash2 and triggers an alignment fault on sparc64, > octeon, or similar platforms? Because struct got_object_id has sha1[] as the first (well, only) element you probably end up with proper alignment. It is best not to rely on that though since a future change could change it. > In any case, given how the SHA1Update() function in libc works, this > patch should avoid any alignment issues. OK millert@ - todd
MurmurHash2 unaligned access