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

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Wed Aug 7 15:12:10 UTC 2024


Yeah, I also found that one. Will send it out this evening if you don't get
to it.

On Wed, Aug 7, 2024, 5:03 PM Michel Dänzer <michel.daenzer at mailbox.org>
wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20240807/d091df01/attachment.htm>


More information about the amd-gfx mailing list