Summary: | The server crashes if the client sends X_GLXMakeCurrent for a direct context | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Neil Roberts <nroberts> | ||||||
Component: | Server/Ext/GLX | Assignee: | Xorg Project Team <xorg-team> | ||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||
Severity: | normal | ||||||||
Priority: | medium | CC: | nroberts | ||||||
Version: | unspecified | ||||||||
Hardware: | Other | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Attachments: |
|
Description
Neil Roberts
2014-11-21 17:32:38 UTC
Created attachment 109809 [details]
Example to demonstrate the problem
Created attachment 109810 [details] [review] glx: Add implementation of __GLXContext->loseCurrent for direct ctxts This adds a dummy implementation for the loseCurrent function in __GLXContext for direct contexts which just returns GL_TRUE. Without this then the X server can crash if receives a MakeCurrent message for a direct context because it will attempt to call loseCurrent when cleaning up the client in the callback for ClientStateGone. lgtm, forwarded to the devel list commit c1455f76c6b1aa4ecaacb2221a687244285aa44b Author: Neil Roberts <neil@linux.intel.com> Date: Mon Dec 1 16:06:17 2014 -0500 glx: Add implementation of __GLXContext->loseCurrent for direct ctxts |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.