aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2022-11-06 14:48:39 -0800
committerTheodore Ts'o <[email protected]>2022-12-08 21:49:24 -0500
commit8415ce07ecf0cc25efdd5db264a7133716e503cf (patch)
tree7b7fe1b7e4087e00be9c041c3d7f53840c5103b5 /scripts/generate_rust_analyzer.py
parent64b4a25c3de81a69724e888ec2db3533b43816e2 (diff)
ext4: fix unaligned memory access in ext4_fc_reserve_space()
As is done elsewhere in the file, build the struct ext4_fc_tl on the stack and memcpy() it into the buffer, rather than directly writing it to a potentially-unaligned location in the buffer. Fixes: aa75f4d3daae ("ext4: main fast-commit commit path") Cc: <[email protected]> # v5.10+ Signed-off-by: Eric Biggers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions