mesa/src/egl/main
Juan A. Suarez Romero 017bd4bf25 egl: do not access member of a NULL structure
Check if the structure is NULL before trying to get access to its
members.

This has been detected by the Undefined Behaviour Sanitizer (UBSan).

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29772>
2024-06-21 21:07:05 +00:00
..
50_mesa.json
egl.def.in egl/dri2: Implement the new flush method 2022-11-02 18:11:41 +00:00
eglapi.c egl: do not access member of a NULL structure 2024-06-21 21:07:05 +00:00
eglarray.c egl: re-format using clang-format 2023-07-07 23:00:06 +00:00
eglarray.h egl: re-format using clang-format 2023-07-07 23:00:06 +00:00
eglconfig.c egl: Implement EGL_EXT_config_select_group 2024-05-11 19:43:47 +00:00
eglconfig.h egl: Implement EGL_EXT_config_select_group 2024-05-11 19:43:47 +00:00
eglconfigdebug.c egl: re-format using clang-format 2023-07-07 23:00:06 +00:00
eglconfigdebug.h egl: re-format using clang-format 2023-07-07 23:00:06 +00:00
eglcontext.c egl: Return BAD_CONFIG when robust access unsupported 2024-01-25 10:24:48 +00:00
eglcontext.h egl: re-format using clang-format 2023-07-07 23:00:06 +00:00
eglcurrent.c egl: re-format using clang-format 2023-07-07 23:00:06 +00:00
eglcurrent.h egl: refactor to use DETECT_OS_ANDROID instead of ANDROID 2024-02-01 19:29:49 +00:00
egldefines.h egl: bump extension string length 2023-08-18 23:37:36 +00:00
egldevice.c egl: fix leaking drmDevicePtr in _eglFindDevice 2023-10-25 12:37:30 +00:00
egldevice.h egl: Rename _eglAddDevice() to _eglFindDevice() 2023-07-17 22:27:01 +00:00
egldispatchstubs.c egl: re-format using clang-format 2023-07-07 23:00:06 +00:00
egldispatchstubs.h egl: re-format using clang-format 2023-07-07 23:00:06 +00:00
egldisplay.c egl/surfaceless: Fix EGL_DEVICE_EXT implementation 2023-12-13 23:15:17 +00:00
egldisplay.h egl: wire up EGL_EXT_surface_compression extension 2024-06-12 21:20:06 +00:00
egldriver.h egl: wire up EGL_EXT_surface_compression extension 2024-06-12 21:20:06 +00:00
eglentrypoint.h egl: wire up EGL_EXT_surface_compression extension 2024-06-12 21:20:06 +00:00
eglglobals.c egl: Implement EGL_EXT_explicit_device 2023-07-28 18:00:34 +00:00
eglglobals.h egl: re-format using clang-format 2023-07-07 23:00:06 +00:00
eglglvnd.c egl: re-format using clang-format 2023-07-07 23:00:06 +00:00
eglimage.c egl: re-format using clang-format 2023-07-07 23:00:06 +00:00
eglimage.h egl: re-format using clang-format 2023-07-07 23:00:06 +00:00
egllog.c egl: use os_get_option() to allow android to set EGL_LOG_LEVEL 2024-06-21 07:44:36 +00:00
egllog.h egl: re-format using clang-format 2023-07-07 23:00:06 +00:00
eglsurface.c egl: wire up EGL_EXT_surface_compression extension 2024-06-12 21:20:06 +00:00
eglsurface.h egl: wire up EGL_EXT_surface_compression extension 2024-06-12 21:20:06 +00:00
eglsync.c egl: re-format using clang-format 2023-07-07 23:00:06 +00:00
eglsync.h egl: re-format using clang-format 2023-07-07 23:00:06 +00:00
egltypedefs.h egl: re-format using clang-format 2023-07-07 23:00:06 +00:00