#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
_______________________________________________
openchrome-users mailing list
[email protected]
http://wiki.openchrome.org/mailman/listinfo/openchrome-users
Main page:
http://www.openchrome.org
Wiki:
http://wiki.openchrome.org
User Forum:
http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1

Reply via email to