btrfs-progs/libbtrfs
David Sterba 5fa48a03c5 libbtrfs: fix potentially unaligned access
Same fix a previous commit, unaligned access on strict alignment hosts
could produce wrong results (reported on send/receive and arm5). As
libbtrfs has own copy of the code fix it here too, replacing leXX_to_cpu
with get_unaligned_leXX where appropriate. This means any access to raw
buffers that get cast to a structure.

Issue: #770
Signed-off-by: David Sterba <dsterba@suse.com>
2024-05-25 00:37:52 +02:00
..
crc32c.c libbtrfs: use unsigned types for bit shifts 2024-03-12 22:03:36 +01:00
crc32c.h btrfs-progs: libbtrfs: own copy of crc32c 2023-02-28 20:11:22 +01:00
ctree.h libbtrfs: fix potentially unaligned access 2024-05-25 00:37:52 +02:00
ioctl.h
kerncompat.h libbtrfs: use unsigned types for bit shifts 2024-03-12 22:03:36 +01:00
libbtrfs.sym btrfs-progs: libbtrfs: move libbtrfs.sym to the directory 2023-01-05 14:23:46 +01:00
send-stream.c libbtrfs: fix potentially unaligned access 2024-05-25 00:37:52 +02:00
send-stream.h
send-utils.c Revert "libbtrfs: remove the support for fs without uuid tree" 2023-09-01 13:58:46 +02:00
send-utils.h Revert "libbtrfs: remove the support for fs without uuid tree" 2023-09-01 13:58:46 +02:00
send.h
version.h.in