diff options
author | Adam Jackson <[email protected]> | 2006-04-03 00:00:53 +0000 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2006-04-03 00:00:53 +0000 |
commit | 5ab5517ba8d2d0b4d590b5fe864797b8a8241cc5 (patch) | |
tree | 511c7e28185998d337e485441b512da4ff4958b0 /src/glx/x11 | |
parent | 05ddc4a6c59f4bd288d322594afe4ac561d07fa7 (diff) |
Coverity #468: Fill in the rest of the error_list to match the error codes
defined in glxproto.h. Avoids reading semi-random memory (and probably
crashing) when calling __glXErrorString().
Diffstat (limited to 'src/glx/x11')
-rw-r--r-- | src/glx/x11/glxext.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c index eb6e870e984..14d5ffa4f96 100644 --- 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) |