[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dri-patches
Subject:    [Dri-patches] [ dri-Bugs-545241 ] glXMakeCurrent segfaults when gc is NULL
From:       noreply () sourceforge ! net
Date:       2002-04-17 15:50:26
[Download RAW message or body]

Bugs item #545241, was opened at 2002-04-17 08:50
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=100387&aid=545241&group_id=387

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ian Romanick (idr)
Assigned to: Nobody/Anonymous (nobody)
Summary: glXMakeCurrent segfaults when gc is NULL

Initial Comment:
glXMakeCurrent causes a segmentation violation at line
871 in lib/GL/glx/glxext.c if the supplied parameter
'gc' is NULL.  Since there are checks elsewhere in the
routine to not dereference gc if it is NULL, I suspect
that the test at line 871 should be changed from
'!gc->isDirect' to '(gc != NULL) && !gc->isDirect'.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=100387&aid=545241&group_id=387

_______________________________________________
Dri-patches mailing list
Dri-patches@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-patches
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic