diff options
author | 2023-04-12 09:50:08 -0300 | |
---|---|---|
committer | 2023-04-12 10:17:58 -0300 | |
commit | 11ff9bcd7dfeefa6a9a9fcd4c7775b8066c46a31 (patch) | |
tree | 5b78b9520a9665fca6ace803eb7a0af2f25382a4 /tools/perf/scripts/python/intel-pt-events.py | |
parent | perf arm-spe: Use zfree() to reduce chances of use after free (diff) | |
download | wireguard-linux-11ff9bcd7dfeefa6a9a9fcd4c7775b8066c46a31.tar.xz wireguard-linux-11ff9bcd7dfeefa6a9a9fcd4c7775b8066c46a31.zip |
perf metricgroups: Use zfree() to reduce chances of use after free
Do defensive programming by using zfree() to initialize freed pointers
to NULL, so that eventual use after free result in a NULL pointer deref
instead of more subtle behaviour.
This file already used zfree() in other places, so this just plugs some
leftovers.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions