projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05ddc4a
)
Coverity #468: Fill in the rest of the error_list to match the error codes
author
Adam Jackson
<ajax@freedesktop.org>
Mon, 3 Apr 2006 00:00:53 +0000
(
00:00
+0000)
committer
Adam Jackson
<ajax@freedesktop.org>
Mon, 3 Apr 2006 00:00:53 +0000
(
00:00
+0000)
defined in glxproto.h. Avoids reading semi-random memory (and probably
crashing) when calling __glXErrorString().
src/glx/x11/glxext.c
patch
|
blob
|
history
diff --git
a/src/glx/x11/glxext.c
b/src/glx/x11/glxext.c
index eb6e870e9840a3a1b522b78585dc628d48dce0ef..14d5ffa4f9614d0b4770e698948894cf6dba0eaa 100644
(file)
--- a/
src/glx/x11/glxext.c
+++ b/
src/glx/x11/glxext.c
@@
-289,6
+289,10
@@
static /* const */ char *error_list[] = {
"GLXBadRenderRequest",
"GLXBadLargeRequest",
"GLXUnsupportedPrivateRequest",
+ "GLXBadFBConfig",
+ "GLXBadPbuffer",
+ "GLXBadCurrentDrawable",
+ "GLXBadWindow",
};
int __glXCloseDisplay(Display *dpy, XExtCodes *codes)