Stefan Dirsch
a3f4315d0b
- Update to release 24.3.0 --> https://docs.mesa3d.org/relnotes/24.3.0 - Update to release 24.3.0~rc2 https://www.phoronix.com/news/Mesa-24.3-rc2 - Update to release 24.3.0~rc1 https://www.phoronix.com/news/Mesa-24.3-rc1-Released - refreshed patches: n_drirc-disable-rgb10-for-chromium-on-amd.patch python36-buildfix1.patch python36-buildfix2.patch tlsdesc_test.patch u_mesa-CVE-2023-45913.patch u_mesa-CVE-2023-45919.patch u_mesa-CVE-2023-45922.patch - drop patches 0001-dril-Fixup-order-of-pixel-formats-in-drilConfigs.patch u_dep_xcb.patch - drop no longer supported options: -Ddri3=enabled -Ddri-search-path=%{_libdir}/dri - new files added in this update currently packaged as part of Mesa-dri: %{_libdir}/gbm/dri_gbm.so OBS-URL: https://build.opensuse.org/request/show/1225797 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1345
16 lines
700 B
Diff
16 lines
700 B
Diff
src/glx/glx_pbuffer.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Index: mesa-24.3.0-rc1/src/glx/glx_pbuffer.c
|
|
===================================================================
|
|
--- mesa-24.3.0-rc1.orig/src/glx/glx_pbuffer.c
|
|
+++ mesa-24.3.0-rc1/src/glx/glx_pbuffer.c
|
|
@@ -338,7 +338,7 @@ __glXGetDrawableAttribute(Display * dpy,
|
|
/* Search the set of returned attributes for the attribute requested by
|
|
* the caller.
|
|
*/
|
|
- for (i = 0; i < num_attributes; i++) {
|
|
+ for (i = 0; i < num_attributes && i * 2 + 1 < length; i++) {
|
|
if (data[i * 2] == attribute) {
|
|
found = 1;
|
|
*value = data[(i * 2) + 1];
|