Commit 2a6c11aa authored by Alan Hourihane's avatar Alan Hourihane

Fix a server crash due to memsetting beyond allocated memory when running

    GL applications.
parent f6ca2b3e
......@@ -611,7 +611,7 @@ static int AddCurrentContext(__GLXclientState *cl, __GLXcontext *glxc, DrawableP
__glXMemset(cl->be_currentCTag + num*screenInfo.numScreens, 0,
screenInfo.numScreens * sizeof(Display *));
screenInfo.numScreens * sizeof(GLXContextTag));
return num+1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment