summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2024-08-02 03:43:07 +0300
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>2024-08-14 21:44:48 +0300
commit554f07a119866a78606b36123fb28e9451b1f994 (patch)
tree9382b934c8d2fe6ed4c2a449bbb1242e5d78e912 /tools/perf/scripts/python/exported-sql-viewer.py
parent1c3e6e7903fa939601fdd326b04507304ba22337 (diff)
downloadlinux-554f07a119866a78606b36123fb28e9451b1f994.tar.xz
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" <paulmck@kernel.org> Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions