mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-20 00:08:12 +02:00
Fixes use after free: ==2537== Invalid read of size 4 ==2537== at 0x1162C9: suite_deadlock_tests_enable (deadlock_tests.c:101) ==2537== by 0x10B157: amdgpu_disable_suits (amdgpu_test.c:421) ==2537== by 0x10B157: main (amdgpu_test.c:560) ==2537== Address 0x5e44f24 is 452 bytes inside a block of size 1,016 free'd ==2537== at 0x4C2BE1B: free (vg_replace_malloc.c:530) ==2537== by 0x504CD8B: amdgpu_device_reference (amdgpu_device.c:164) ==2537== by 0x504CD8B: amdgpu_device_deinitialize (amdgpu_device.c:307) ==2537== by 0x1162BB: suite_deadlock_tests_enable (deadlock_tests.c:97) ==2537== by 0x10B157: amdgpu_disable_suits (amdgpu_test.c:421) ==2537== by 0x10B157: main (amdgpu_test.c:560) ==2537== Block was alloc'd at ==2537== at 0x4C2CC05: calloc (vg_replace_malloc.c:711) ==2537== by 0x504CA5E: amdgpu_device_initialize (amdgpu_device.c:212) ==2537== by 0x116298: suite_deadlock_tests_enable (deadlock_tests.c:93) ==2537== by 0x10B157: amdgpu_disable_suits (amdgpu_test.c:421) ==2537== by 0x10B157: main (amdgpu_test.c:560) Reviewed-by: Christian König <christian.koenig@amd.com> |
||
|---|---|---|
| .. | ||
| amdgpu_test.c | ||
| amdgpu_test.h | ||
| basic_tests.c | ||
| bo_tests.c | ||
| cs_tests.c | ||
| deadlock_tests.c | ||
| decode_messages.h | ||
| frame.h | ||
| Makefile.am | ||
| meson.build | ||
| uvd_enc_tests.c | ||
| uve_ib.h | ||
| vce_ib.h | ||
| vce_tests.c | ||
| vcn_tests.c | ||
| vm_tests.c | ||