diff options
author | Emil Velikov <[email protected]> | 2017-08-07 17:23:19 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-08-26 11:22:17 +0100 |
commit | f0d053cb6dda908d554d84629bd98e05d383a8f6 (patch) | |
tree | 0bec5e96d06e1e54cfcd7541bc7136cb7a2ff4a4 /include/drm-uapi | |
parent | 10524d105de7080fd4f85e9ba8d1d149f765433f (diff) |
egl: don't NULL deref the .get_capabilities function pointer
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 EGL_ANDROID_native_fence_sync")
Cc: Rob Clark <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'include/drm-uapi')
0 files changed, 0 insertions, 0 deletions