aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/flamegraph-record
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2022-11-06 14:48:39 -0800
committerTheodore Ts'o <tytso@mit.edu>2022-12-08 21:49:24 -0500
commit8415ce07ecf0cc25efdd5db264a7133716e503cf (patch)
tree7b7fe1b7e4087e00be9c041c3d7f53840c5103b5 /tools/perf/scripts/python/bin/flamegraph-record
parentext4: add missing validation of fast-commit record lengths (diff)
downloadlinux-8415ce07ecf0cc25efdd5db264a7133716e503cf.tar.gz
linux-8415ce07ecf0cc25efdd5db264a7133716e503cf.zip
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 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions