diff options
Diffstat (limited to 'glx/vndcmds.c')
-rw-r--r-- | glx/vndcmds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/glx/vndcmds.c b/glx/vndcmds.c index c3e1332bf..493e2bfc0 100644 --- a/glx/vndcmds.c +++ b/glx/vndcmds.c @@ -472,6 +472,8 @@ void GlxDispatchReset(void) int GlxDispatchRequest(ClientPtr client) { REQUEST(xReq); + if (GlxExtensionEntry->base == 0) + return BadRequest; if (stuff->data < OPCODE_ARRAY_LEN) { if (dispatchFuncs[stuff->data] == NULL) { // Try to find a dispatch stub. |