Re: [Mesa-dev] [PATCH] egl: don't NULL deref the .get_capabilities function pointer

2017-08-15 Thread Tapani Pälli
seems rare scenario indeed but there's similar check for image extension caps; Reviewed-by: Tapani Pälli On 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

2017-08-07 Thread Emil Velikov
From: Emil Velikov One 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