mesa/src/egl
Patrick Lerda 92dc71dd41 dri: fix image_loader_extensions array
NULL was forgotten.

This issue was detected by the gcc sanitizer.

==30873==ERROR: AddressSanitizer: global-buffer-overflow on address 0x7f94f9ad14b0 at pc 0x7f94f04905bc bp 0x7ffe3b1ebcf0 sp 0x7ffe3b1ebce8
READ of size 8 at 0x7f94f9ad14b0 thread T0
    #0 0x7f94f04905bb in loader_bind_extensions ../src/loader/loader.c:783
    #1 0x7f94ee656232 in setupLoaderExtensions ../src/gallium/frontends/dri/dri_util.c:88
    #2 0x7f94ee656232 in driCreateNewScreen3 ../src/gallium/frontends/dri/dri_util.c:111
    #3 0x7f94f98d9a14 in dri2_create_screen ../src/egl/drivers/dri2/egl_dri2.c:774
    #4 0x7f94f98dfbea in surfaceless_probe_device ../src/egl/drivers/dri2/platform_surfaceless.c:298
    #5 0x7f94f98dfbea in dri2_initialize_surfaceless ../src/egl/drivers/dri2/platform_surfaceless.c:390
    #6 0x7f94f98dbc4f in dri2_initialize ../src/egl/drivers/dri2/egl_dri2.c:861
    #7 0x7f94f98dbc4f in dri2_initialize ../src/egl/drivers/dri2/egl_dri2.c:832
    #8 0x7f94f9892843 in eglInitialize ../src/egl/main/eglapi.c:696

Fixes: 56ed5cf1bb ("dri: Get rid of __DRIbackgroundCallableExtension")
Signed-off-by: Patrick Lerda <patrick9876@free.fr>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36255>
2025-07-21 13:27:07 +00:00
..
drivers dri: fix image_loader_extensions array 2025-07-21 13:27:07 +00:00
generate egl/wayland: Move bind_wayland_display to legacy build option 2025-07-10 14:51:20 +00:00
main egl/wayland: Move bind_wayland_display to legacy build option 2025-07-10 14:51:20 +00:00
wayland egl/wayland: Remove support for non-dmabuf wl_drm 2025-07-09 17:49:58 +00:00
.clang-format clang-format: Disable formatting by default 2023-08-13 16:48:49 +02:00
egl-entrypoint-check.py egl: Apply autopep8. 2025-02-21 02:50:56 +00:00
egl-glvnd-symbols.txt egl: export GL-CL interop functions from libEGL_mesa.so 2025-06-08 13:20:47 -04:00
egl-glvnd.sym egl: export GL-CL interop functions from libEGL_mesa.so 2025-06-08 13:20:47 -04:00
egl-symbols.txt egl/dri2: Implement the new flush method 2022-11-02 18:11:41 +00:00
egl.sym egl/meson: Specify which symbols to export 2025-01-15 23:18:36 +00:00
meson.build meson: Only build src/x11 if with_platform_x11 2025-07-16 01:32:55 +00:00