diff options
author | 2023-04-12 09:50:08 -0300 | |
---|---|---|
committer | 2023-04-12 10:14:01 -0300 | |
commit | 97d0dd1e283a9a11ede495928c9c2a148b47cef4 (patch) | |
tree | f53a6a9f2e96889bbffbda62df48f8e5b5899d64 /tools/perf/scripts/python/intel-pt-events.py | |
parent | perf genelf: Use zfree() to reduce chances of use after free (diff) | |
download | wireguard-linux-97d0dd1e283a9a11ede495928c9c2a148b47cef4.tar.xz wireguard-linux-97d0dd1e283a9a11ede495928c9c2a148b47cef4.zip |
perf bench inject-buildid: 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/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions