[xorg-bugzilla-noise] [Bug 1404] New: Xnest crashing because of uninitialized GetWindowPixmap

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 17 14:25:17 UTC 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=1404        
   
           Summary: Xnest crashing because of uninitialized GetWindowPixmap
           Product: xorg
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Server/Xnest
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: ago at freedesktop.org


pScreen->GetWindowPixmap is never initialized in Xnest startup and contains
random data. After some server resets it crashes with segfault because
pScreen->GetWindowPixmap is called but is not a valid function.

A quick fix was to set the complete ScreenRec structure to null after allocating
it in dix/main.c (AddScreen)        
   
   
--         
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