aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-05-12 20:30:51 +0000
committerThomas Zimmermann <[email protected]>2021-05-13 14:00:54 +0000
commit0ff9bf9f3e0ce212aabea84365575466039e8c46 (patch)
treeda3997f970ac109983f5143339442d76b27e3e68 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parentdrm/aperture: Fix missing unlock on error in devm_aperture_acquire() (diff)
downloadkernel-0ff9bf9f3e0ce212aabea84365575466039e8c46.tar.gz
kernel-0ff9bf9f3e0ce212aabea84365575466039e8c46.zip
drm: simpledrm: Fix use after free issues
There are two occurrances where objects are being free'd via a put call and yet they are being referenced after this. Fix these by adding in the missing continue statement so that the put on the end of the loop is skipped over. Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Thomas Zimmermann <[email protected]> Addresses-Coverity: ("Use after free") Fixes: 11e8f5fd223b ("drm: Add simpledrm driver") Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions