aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.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:52:29 -0300
commit789eae7f203edc1301d7122ad9b3046e7c56937c (patch)
tree95f852cffbb23cdf1cc60235273c5cb419197cd5 /tools/perf/scripts/python/export-to-postgresql.py
parent79b40a1b182bcca381bb59d0219e1dd681a64981 (diff)
downloadlinux-789eae7f203edc1301d7122ad9b3046e7c56937c.tar.gz
linux-789eae7f203edc1301d7122ad9b3046e7c56937c.tar.bz2
linux-789eae7f203edc1301d7122ad9b3046e7c56937c.zip
perf daemon: 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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions