diff options
author | Demi Marie Obenour <demi@invisiblethingslab.com> | 2023-06-03 17:52:41 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2023-06-23 17:31:51 +0300 |
commit | 10655c7a48570315343fdd9cc6acb261d57c2c7a (patch) | |
tree | 737ca49322e11ed9dffdd85ef5f9033f125a4985 /tools/perf/scripts/python/stackcollapse.py | |
parent | 13f4a697f8b4feb705569f9336127e9e2f9ac596 (diff) | |
download | linux-10655c7a48570315343fdd9cc6acb261d57c2c7a.tar.xz |
dm ioctl: structs and parameter strings must not overlap
The NUL terminator for each target parameter string must precede the
following 'struct dm_target_spec'. Otherwise, dm_split_args() might
corrupt this struct. Furthermore, the first 'struct dm_target_spec'
must come after the 'struct dm_ioctl', as if it overlaps too much
dm_split_args() could corrupt the 'struct dm_ioctl'.
Signed-off-by: Demi Marie Obenour <demi@invisiblethingslab.com>
Reviewed-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions