summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2023-04-12 09:50:08 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-04-12 10:15:27 -0300
commit2e384400549be734795072b1d904880efc0db2f9 (patch)
treeacb21f9a49e1cc6c7f07f4021e0a95cc713a32cc /tools/perf/scripts/python/intel-pt-events.py
parent9ccbc21166ce149c5f7429cad22f9073d3fab0b1 (diff)
downloadlinux-2e384400549be734795072b1d904880efc0db2f9.tar.gz
linux-2e384400549be734795072b1d904880efc0db2f9.tar.bz2
linux-2e384400549be734795072b1d904880efc0db2f9.zip
perf arm-spe: 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. 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