Skip to content

glx: Fix potential crashes in glXWait{GL,X}

Adam Jackson requested to merge ajax/xserver:glxwait-crash-fix into master

glxc->drawPriv will be NULL if the context is direct, or if it is current but without a bound drawable. Mesa's libGL won't normally emit protocol for direct contexts for these calls, but a malign client could still crash the server.

Merge request reports