diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-04-12 09:50:08 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-04-12 09:55:44 -0300 |
commit | b20c63084eb2c591006109aefbdeb3cad7a57d23 (patch) | |
tree | e173665b927b8b8352606d8cf17c98a1919c0300 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 190de75481439205f3a9362bd0511fd48ad1a718 (diff) | |
download | linux-b20c63084eb2c591006109aefbdeb3cad7a57d23.tar.gz linux-b20c63084eb2c591006109aefbdeb3cad7a57d23.tar.bz2 linux-b20c63084eb2c591006109aefbdeb3cad7a57d23.zip |
perf list: 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