projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88976da
)
glx: add extra null check in getFBConfigs
author
Juha-Pekka Heikkila
<juhapekka.heikkila@gmail.com>
Wed, 2 Apr 2014 13:13:56 +0000
(16:13 +0300)
committer
Tapani Pälli
<tapani.palli@intel.com>
Wed, 2 Apr 2014 16:54:37 +0000
(19:54 +0300)
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/glx/glxext.c
patch
|
blob
|
history
diff --git
a/src/glx/glxext.c
b/src/glx/glxext.c
index 4a195bd40ba272da5125d22a037e52826b434e37..0838cd19251ff313acbca08103b1d5735492066d 100644
(file)
--- a/
src/glx/glxext.c
+++ b/
src/glx/glxext.c
@@
-677,6
+677,10
@@
static GLboolean
psc->serverGLXexts =
__glXQueryServerString(dpy, priv->majorOpcode, screen, GLX_EXTENSIONS);
+ if (psc->serverGLXexts == NULL) {
+ return GL_FALSE;
+ }
+
LockDisplay(dpy);
psc->configs = NULL;