aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2024-08-01 17:43:07 -0700
committerNeeraj Upadhyay <[email protected]>2024-08-15 00:14:48 +0530
commit554f07a119866a78606b36123fb28e9451b1f994 (patch)
tree9382b934c8d2fe6ed4c2a449bbb1242e5d78e912 /tools/perf/util/scripting-engines/trace-event-python.c
parent1c3e6e7903fa939601fdd326b04507304ba22337 (diff)
rcuscale: NULL out top-level pointers to heap memory
Currently, if someone modprobes and rmmods rcuscale successfully, but the next run errors out during the modprobe, non-NULL pointers to freed memory will remain. If the run after that also errors out during the modprobe, there will be double-free bugs. This commit therefore NULLs out top-level pointers to memory that has just been freed. Signed-off-by: "Paul E. McKenney" <[email protected]> Signed-off-by: Neeraj Upadhyay <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions