diff options
| author | 2022-11-06 14:48:39 -0800 | |
|---|---|---|
| committer | 2022-12-08 21:49:24 -0500 | |
| commit | 8415ce07ecf0cc25efdd5db264a7133716e503cf (patch) | |
| tree | 7b7fe1b7e4087e00be9c041c3d7f53840c5103b5 /scripts/Makefile.thinlto | |
| parent | ext4: add missing validation of fast-commit record lengths (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: <stable@vger.kernel.org> # v5.10+
Signed-off-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20221106224841.279231-6-ebiggers@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
