mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-01 17:40:11 +01:00
Coverity #271: Fix an unbelievably boneheaded NULL chase.
This commit is contained in:
parent
59a90e8af9
commit
1c6dbfa12f
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2006-04-02 Adam Jackson <ajax@freedesktop.org>
|
||||
|
||||
* GL/glx/glxcmdsswap.c:
|
||||
Coverity #271: Fix an unbelievably boneheaded NULL chase.
|
||||
|
||||
2006-04-02 Adam Jackson <ajax@freedesktop.org>
|
||||
|
||||
* hw/xnest/Pixmap.c:
|
||||
|
|
|
|||
|
|
@ -345,7 +345,7 @@ int __glXSwapUseXFont(__GLXclientState *cl, GLbyte *pc)
|
|||
|
||||
int __glXSwapQueryExtensionsString(__GLXclientState *cl, GLbyte *pc)
|
||||
{
|
||||
xGLXQueryExtensionsStringReq *req = NULL;
|
||||
xGLXQueryExtensionsStringReq *req = (xGLXQueryExtensionsStringReq *)pc;
|
||||
__GLX_DECLARE_SWAP_VARIABLES;
|
||||
|
||||
__GLX_SWAP_SHORT(&req->length);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue