Re: [PATCH] drm/vmwgfx: Fix possible null pointer derefence with invalid contexts

2024-01-11 Thread Martin Krastev
On Wed, Jan 10, 2024 at 10:03 PM Zack Rusin wrote: > > vmw_context_cotable can return either an error or a null pointer and its > usage sometimes went unchecked. Subsequent code would then try to access > either a null pointer or an error value. > > The invalid dereferences were only possible with

Re: [PATCH] drm/vmwgfx: Fix possible null pointer derefence with invalid contexts

2024-01-10 Thread Maaz Mombasawala
On 1/10/24 12:03, Zack Rusin wrote: > vmw_context_cotable can return either an error or a null pointer and its > usage sometimes went unchecked. Subsequent code would then try to access > either a null pointer or an error value. > > The invalid dereferences were only possible with malformed usersp