aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.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 09:55:10 -0300
commit190de75481439205f3a9362bd0511fd48ad1a718 (patch)
tree7c7e7e11d6e507fc66f6a145cc4b815b2948fefd /tools/perf/scripts/python/syscall-counts.py
parent9997d5dd177c52017fa0541bf236a4232c8148e6 (diff)
downloadlinux-190de75481439205f3a9362bd0511fd48ad1a718.tar.gz
linux-190de75481439205f3a9362bd0511fd48ad1a718.tar.bz2
linux-190de75481439205f3a9362bd0511fd48ad1a718.zip
perf c2c: 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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions