aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.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:00:19 -0300
commit9fbde6c8002bce61acd0c2187cc41c43a7c99968 (patch)
treeb555d357fcb5f87ca89ef0a2c3f3468e409e3677 /tools/perf/scripts/python/exported-sql-viewer.py
parent313b4c1ccdb273f6733e8c44948f8c7141f592a4 (diff)
downloadlinux-9fbde6c8002bce61acd0c2187cc41c43a7c99968.tar.gz
linux-9fbde6c8002bce61acd0c2187cc41c43a7c99968.tar.bz2
linux-9fbde6c8002bce61acd0c2187cc41c43a7c99968.zip
perf env: 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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions