mesa/src
Patrick Lerda 49af1f5a93 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>
(cherry picked from commit 92dc71dd41)
2025-07-23 14:34:43 +02:00
..
amd radv/video: Fix encode when using layered source image 2025-07-23 14:34:43 +02:00
android_stub
asahi asahi: Ensure shared BOs have a prime_fd 2025-07-23 14:34:42 +02:00
broadcom ci/piglit: provide default results file name 2025-07-16 12:54:06 +00:00
c11
compiler nir/divergence: ignore boolean phis for ignore_undef_if_phi_srcs 2025-07-23 14:34:42 +02:00
drm-shim
egl dri: fix image_loader_extensions array 2025-07-23 14:34:43 +02:00
etnaviv etnaviv/ci: document fixed tests 2025-07-15 22:27:40 +00:00
freedreno tu: Use safe-const binning VS when safe-const full VS is used 2025-07-23 14:34:42 +02:00
gallium rusticl/queue: do not return event status errors on flush/finish 2025-07-23 14:34:43 +02:00
gbm gbm: Add more formats 2025-07-15 12:37:10 +00:00
getopt
gfxstream gfxstream: fix build on 32-bit 2025-07-23 14:34:42 +02:00
glx dri: Get rid of __DRIbackgroundCallableExtension 2025-07-16 01:32:56 +00:00
gtest
imagination nir/opt_vectorize_io: optionally vectorize loads with holes 2025-07-15 16:29:30 +00:00
imgui
intel isl: Set tiling requirements for video surfaces 2025-07-16 04:08:16 +00:00
loader dri: Add additional 16/32b float/int formats 2025-07-15 12:37:10 +00:00
mapi mesa: support NV_timeline_semaphore 2025-07-07 21:18:29 +00:00
mesa mesa: Include mask value in glStencilMask VERBOSE_API debug output 2025-07-16 00:32:13 +00:00
microsoft dozen: adopt wsi_common_get_memory 2025-07-09 23:45:04 +00:00
nouveau nak: disable imma 8x8x16 on Blackwell+ 2025-07-23 14:34:42 +02:00
panfrost panvk: Fix nullDescriptor for dynamic descriptors 2025-07-23 14:34:43 +02:00
tool pps: Generate libgpudataprofiling.so from pps-producer sources for Android CTS 2025-07-15 20:29:57 +00:00
util mesa: subprojects: remove linux-raw-sys backend and use libc 2025-07-14 10:23:47 -07:00
virtio venus/meson: amend api_version in the generated icd file 2025-07-15 22:54:33 -07:00
vulkan x11: Add an x11_xlib_display_is_thread_safe() helper 2025-07-16 01:32:56 +00:00
x11 x11: Add an x11_xlib_display_is_thread_safe() helper 2025-07-16 01:32:56 +00:00
.clang-format libagx: port pre-GS to CL 2025-06-27 15:31:49 +00:00
meson.build meson: Only build src/x11 if with_platform_x11 2025-07-16 01:32:55 +00:00