mesa/src
Juan A. Suarez Romero 6aafb58432 virgl: fix member access to a NULL pointer struct
This fixes VirglStagingMgr tests that tries to access a struct member of
a structure that is NULL.

This has been detected using Undefined Behaviour Sanitizer.

```
Running main() from ../src/gtest/src/gtest_main.cc
[==========] Running 9 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 7 tests from VirglStagingMgr
[ RUN      ] VirglStagingMgr.non_fitting_allocation_reallocates_resource
stderr:
../src/gallium/drivers/virgl/tests/virgl_staging_mgr_test.cpp:72:22: runtime error: member access within null pointer of type 'struct virgl_hw_res'
```

Reviewed-by: Eric Engestrom <eric@igalia.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30880>
2025-01-09 17:06:07 +00:00
..
amd ac/nir: fix a comment typo in load_subgroup_id_lowered() 2025-01-09 08:02:19 +00:00
android_stub
asahi nir: pass a callback to nir_lower_robust_access 2025-01-08 15:59:05 +00:00
broadcom nir: pass a callback to nir_lower_robust_access 2025-01-08 15:59:05 +00:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler nir/lower_robust_access: fix robustness with atomic swap 2025-01-08 15:59:05 +00:00
drm-shim
egl egl/wayland: fallback to implicit modifiers if advertised by compositor 2024-12-19 13:09:48 +00:00
etnaviv ci/etnaviv: drop GC2000 flat shading fails 2025-01-08 13:55:26 +00:00
freedreno freedreno/ci: Update a630-traces-restricted checksums 2025-01-09 14:05:15 +01:00
gallium virgl: fix member access to a NULL pointer struct 2025-01-09 17:06:07 +00:00
gbm Revert "gbm: mark surface buffers as explicit flushed" 2024-11-27 22:48:04 +00:00
getopt
gfxstream gfxstream: fix issues with VK1.4 build 2024-12-03 20:35:44 +00:00
glx glx: ignore zink check for has_explicit_modifiers and DRI3 on MacOS. 2024-12-13 00:39:16 +00:00
gtest
imagination pvr: use vk_descriptor_type_is_dynamic 2024-12-19 15:12:58 +00:00
imgui
intel anv: Check VkResult main batch buffer before start companion batch buffer 2025-01-09 13:47:28 +00:00
loader loader: Fix typo in __DRI_IMAGE_FORMAT_XBGR16161616 definition 2024-10-25 14:18:24 +00:00
mapi meson: remove selinux option 2024-10-21 01:14:35 +00:00
mesa mesa: use default params for clearbuffer functions 2025-01-09 15:48:10 +00:00
microsoft nir: remove redundant option linker_ignore_precision 2025-01-06 19:09:17 +00:00
nouveau nvk: use common calibrated timestamp support 2025-01-07 03:39:29 +00:00
panfrost panvk: re-enable fragmentStoresAndAtomics for v10 2025-01-08 16:45:21 +00:00
tool panvk: add u_trace perfetto support 2024-12-17 23:14:26 +00:00
util util/bitpack_helpers: Make fixed packs CL safe 2025-01-08 11:37:27 +00:00
virtio virgl: Update virgl_hw.h from virglrenderer 2025-01-07 13:15:46 +00:00
vulkan vulkan: Add missing va_end 2025-01-08 19:18:32 -08:00
x11 meson: require dri3 modifiers 2024-09-06 17:34:17 +00:00
.clang-format nir: add helpers for precompiled shaders 2024-11-28 17:34:12 +00:00
meson.build meson: simplify logic a bit 2024-11-26 20:45:41 +00:00