xserver: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Apr 24 20:01:15 UTC 2021


 glx/glxcmds.c |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit a50a0e348542bf32fb4239ee05a485772837f2f3
Author: qarmin <mikrutrafal54 at gmail.com>
Date:   Tue Apr 28 22:05:02 2020 +0200

    glxcmds: Fix possible out of bounds

diff --git a/glx/glxcmds.c b/glx/glxcmds.c
index 37576b6ef..8bf180378 100644
--- a/glx/glxcmds.c
+++ b/glx/glxcmds.c
@@ -985,7 +985,6 @@ __glXDisp_GetVisualConfigs(__GLXclientState * cl, GLbyte * pc)
         /* Pad with zeroes, so that attributes count is constant. */
         while (p < GLX_VIS_CONFIG_TOTAL) {
             buf[p++] = 0;
-            buf[p++] = 0;
         }
 
         assert(p == GLX_VIS_CONFIG_TOTAL);


More information about the xorg-commit mailing list