summaryrefslogtreecommitdiff
path: root/tests/i915/kms_mmap_write_crc.c
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2022-06-27 17:10:02 +0100
committerMatthew Auld <matthew.auld@intel.com>2022-06-28 15:42:49 +0100
commitd6d1ac4b3d936f850aa63373d7ae05ebf7254f81 (patch)
tree2a12b5c6772180ced697a7c95c76153215c96739 /tests/i915/kms_mmap_write_crc.c
parent35840762d3ee78e146a5a02aa6fe14dd7b4179a8 (diff)
tests/i915/gem_eio: fix uaf
../tests/i915/gem_eio.c:277:20: warning: pointer ‘ctx’ used after ‘free’ [-Wuse-after-free] 277 | igt_assert(igt_sysfs_printf(ctx->debugfs, "i915_drop_caches", ../lib/igt_core.h:667:20: note: in definition of macro ‘igt_assert’ 667 | do { if (!(expr)) \ | ^~~~ ../tests/i915/gem_eio.c:274:9: note: call to ‘free’ here 274 | free(ctx); Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com> Reviewed-by: Nirmoy Das <nirmoy.das@intel.com> Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Diffstat (limited to 'tests/i915/kms_mmap_write_crc.c')
0 files changed, 0 insertions, 0 deletions