aboutsummaryrefslogtreecommitdiffstatshomepage
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 10:08:30 -0300
commitc77ceb2eb03eefd92e6b84a509ecec1db8d97858 (patch)
tree1ab8316a7b1698b0478942bfb94fe2f17c419d0f /tools/perf/scripts/python/export-to-postgresql.py
parentperf parse-events: Use zfree() to reduce chances of use after free (diff)
downloadwireguard-linux-c77ceb2eb03eefd92e6b84a509ecec1db8d97858.tar.xz
wireguard-linux-c77ceb2eb03eefd92e6b84a509ecec1db8d97858.zip
perf annotate: 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. Also include the missing linux/zalloc.h header directive. 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