[Openchrome-users] [openChrome] #404: viaReputImage() crashes with X.Org server 1.10

OpenChrome Trac trac
Mon Apr 11 09:42:18 PDT 2011


#404: viaReputImage() crashes with X.Org server 1.10
-------------------------------+--------------------------------------------
Reporter:  Bartosz Brachaczek  |       Owner:  somebody
    Type:  defect              |      Status:  new     
Priority:  critical            |   Component:  xv      
 Version:  trunk               |    Keywords:          
Blocking:                      |   Blockedby:          
-------------------------------+--------------------------------------------
 In X.Org server 1.10 the XV API was changed (in commit
 [http://cgit.freedesktop.org/xorg/xserver/commit/?id=a942534ca3908418c407115c6393263c2fe05931
 a942534ca3908418c407115c6393263c2fe05931]). So now !OpenChrome's
 viaReputImage() function gets called with totally wrong arguments and
 crashes the X.Org server (I can reproduce it by resizing a video being
 played).

 Indeed I get a warning when compiling !OpenChrome with X.Org 1.10 headers:

 {{{
 via_video.c: In function ?viaSetupAdaptors?:
     via_video.c:823:36: warning: assignment from incompatible pointer type
 }}}

 But I wonder why such things are allowed to compile at all. (Pretty bad
 such things may happen).

-- 
Ticket URL: <http://www.openchrome.org/trac/ticket/404>
openChrome <http://www.openchrome.org/>
The openChrome project



More information about the Openchrome-users mailing list