summaryrefslogtreecommitdiff
path: root/tools/perf/arch
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2023-04-12 15:50:08 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-04-12 16:14:58 +0300
commit9ccbc21166ce149c5f7429cad22f9073d3fab0b1 (patch)
treea63bfc3769a86ba37bfde7875cfb1f23d73f8308 /tools/perf/arch
parent97d0dd1e283a9a11ede495928c9c2a148b47cef4 (diff)
downloadlinux-9ccbc21166ce149c5f7429cad22f9073d3fab0b1.tar.xz
perf tests api-io: 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/arch')
0 files changed, 0 insertions, 0 deletions