xf86-video-geode: Changes to 'master'

Martin-Éric Racine q-funk at kemper.freedesktop.org
Wed Aug 4 22:08:22 PDT 2010


 src/lx_video.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e9effca821c1d604aeffeb3d3e7a49539485117d
Author: Daniel Drake <dsd at laptop.org>
Date:   Thu Aug 5 08:08:06 2010 +0300

    http://lists.x.org/archives/xorg-driver-geode/2010-August/000938.html
    https://bugs.freedesktop.org/show_bug.cgi?id=29391
    
    LXCopyFromSys currently is hardcoded to operate on 16bpp data.
    And indeed, when working with packed data (e.g. YUY2), this is the case.
    
    However, it is also used from LXCopyPlanar to copy the planes of I420
    images. In this case, it is on an 8bpp input plane.
    
    Running at 16bpp causes twice as much data to be copied, and ultimately
    causes a buffer overflow leading to crashes such as
    http://dev.laptop.org/ticket/10260
    
    Fix this by deriving the BPP from the input image parameters.



More information about the xorg-commit mailing list