diff options
author | 2023-04-12 09:50:08 -0300 | |
---|---|---|
committer | 2023-04-12 10:08:30 -0300 | |
commit | c77ceb2eb03eefd92e6b84a509ecec1db8d97858 (patch) | |
tree | 1ab8316a7b1698b0478942bfb94fe2f17c419d0f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf parse-events: Use zfree() to reduce chances of use after free (diff) | |
download | wireguard-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