mesa/src/egl
Dongwon Kim d1e1563bb6 egl: move Null check to eglGetSyncAttribKHR to prevent Segfault
Null-check on "*value" is currently done in _eglGetSyncAttrib, which is
after eglGetSyncAttribKHR dereferences it.

Move the check a layer up (in the beginning of eglGetSyncAttribKHR) to
avoid segfaults.

Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
[Emil Velikov: tweak commit message, add stable tag]
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2016-02-19 18:23:19 +00:00
..
docs
drivers egl: android: clean-up config attribute setting 2016-02-18 17:47:33 +00:00
main egl: move Null check to eglGetSyncAttribKHR to prevent Segfault 2016-02-19 18:23:19 +00:00
wayland wayland: Add copyright notice for wayland-egl.c 2015-09-24 10:51:10 -07:00
Android.mk Android: enable building on arm64 2016-02-18 17:47:33 +00:00
egl-symbols-check automake: egl: add symbols test 2015-11-20 10:40:23 +00:00
Makefile.am egl: don't forget to ship platform_x11_dri3.h into the tarball 2015-11-20 18:08:04 +00:00
Makefile.sources automake: rework the EGL build 2015-07-22 16:35:27 +01:00
SConscript egl: Fix missing Haiku include path 2015-09-28 13:58:25 -04:00