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:11:51 -0300
commit2bfc8134f95852bd8b0190641c2d2b059cb1c8cc (patch)
tree05d25a9feedb047c2801340a26aec373481a6a90 /tools/perf/scripts/python/intel-pt-events.py
parentc77ceb2eb03eefd92e6b84a509ecec1db8d97858 (diff)
downloadlinux-2bfc8134f95852bd8b0190641c2d2b059cb1c8cc.tar.gz
linux-2bfc8134f95852bd8b0190641c2d2b059cb1c8cc.tar.bz2
linux-2bfc8134f95852bd8b0190641c2d2b059cb1c8cc.zip
perf evlist: 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