Files
erofs-linux/tools/lib/bpf
Eric Biggers 4d920ed684 libbpf: Fix undefined behavior in {get,put}_unaligned_be32()
These violate aliasing rules and may be miscompiled unless
-fno-strict-aliasing is used.  Replace them with the standard memcpy()
solution.  Note that compilers know how to optimize this properly.

Fixes: 4a1c9e544b ("libbpf: remove linux/unaligned.h dependency for libbpf_sha256()")
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
2025-10-06 09:16:29 -07:00
..
2025-09-18 19:11:42 -07:00
…
2025-07-16 18:37:27 -07:00
2025-02-18 16:27:43 -03:00
…
…
…
2024-10-03 17:47:35 -07:00
…