Re: [Mesa-dev] [PATCH] egl: don't NULL deref the .get_capabilities function pointer
seems rare scenario indeed but there's similar check for image extension caps; Reviewed-by: Tapani PälliOn 08/07/2017 07:23 PM, Emil Velikov wrote: From: Emil Velikov One could easily introduce version 3 of the DRI2fenceExtension,
[Mesa-dev] [PATCH] egl: don't NULL deref the .get_capabilities function pointer
From: Emil VelikovOne could easily introduce version 3 of the DRI2fenceExtension, extending the struct, while not implementing the above function. Thus we'll end up with NULL pointer, and dereferencing it won't fare too well. Fixes: 0201f01dc4e ("egl: add