[xorg-bugzilla-noise] [Bug 1121] New: crash: XRenderFindVisualFormat() returns 0 for OpenGL/SDL app window

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 18 05:41:46 PDT 2004


Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1121        
   
           Summary: crash: XRenderFindVisualFormat() returns 0 for
                    OpenGL/SDL app window
           Product: xapps
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: xcompmgr
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: mfranz at aon.at


XRenderFindVisualFormat() is at several places used in xcompmgr.c, without 
ever checking for the return value. When running FlightGear 
(http://www.flightgear.org/), which is an (optionally) SDL using OpenGL 
application, XRenderFindVisualFormat() returns 0. This is *unchecked* handed 
over to XRenderCreatePicture() (lines 662, 792, 829, and 1726), which 
dereferences the null pointer. 
 
0 is a valid return value of XRenderFindVisualFormat().        
   
   
--         
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list