glxcmds: Fix possible out of bounds
This commit is contained in:
parent
3ea46f9336
commit
a50a0e3485
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue