[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#320828: Debian bug 320828



I had a similar problem (SIGFPE in ATIDivide); I didn't track down the
cause, but with this workaround, X.org stopped crashing.  I also filed a
bug report with Xorg: https://bugs.freedesktop.org/show_bug.cgi?id=11054

--- programs/Xserver/hw/xfree86/drivers/ati/atimach64xv.c.orig	2005-07-11 02:29:44.000000000 +0000
+++ programs/Xserver/hw/xfree86/drivers/ati/atimach64xv.c
@@ -959,6 +959,9 @@ ATIMach64PutImage
    if (pATI->ActiveSurface)
        return Success;

+    if (DstW == 0 || DstH == 0)
+        return BadValue;
+
    if (!ATIMach64ClipVideo(pScreenInfo, pATI, ImageID,
                            SrcX, SrcY, SrcW, SrcH,
                            DstX, DstY, &DstW, &DstH,

--
Sergey Svishchev



Reply to: