diff options
author | Valentin Schneider <[email protected]> | 2023-09-01 17:10:37 +0200 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2023-09-01 21:27:22 -0400 |
commit | 1caf7adb9e000479d2bd29c86b6d7eaeb24b1b05 (patch) | |
tree | faa19b680ff1a3028f8f80a622037398d5392656 /lib/crypto/mpi/mpi-add.c | |
parent | 9af4058493c59721eccd90b7c40cad793e4e3c3b (diff) |
tracing/filters: Fix double-free of struct filter_pred.mask
When a cpulist filter is found to contain a single CPU, that CPU is saved
as a scalar and the backing cpumask storage is freed.
Also NULL the mask to avoid a double-free once we get down to
free_predicate().
Link: https://lkml.kernel.org/r/[email protected]
Cc: Masami Hiramatsu <[email protected]>
Reported-by: Steven Rostedt <[email protected]>
Signed-off-by: Valentin Schneider <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions