[PATCH] drm/amdgpu: Actually check flags for all context ops.

Michel Dänzer michel.daenzer at mailbox.org
Wed Aug 7 15:03:12 UTC 2024


On 2024-08-06 22:27, Bas Nieuwenhuizen wrote:
> Missing validation ...
> 
> Checked libdrm and it clears all the structs, so we should be
> safe to just check everything.

Thanks for fixing this.

FWIW, amdgpu_cs_ioctl has the same issue AFAICT. Haven't checked any others, there might be more.


-- 
Earthling Michel Dänzer       \        GNOME / Xwayland / Mesa developer
https://redhat.com             \               Libre software enthusiast



More information about the amd-gfx mailing list