[Spice-devel] [spice-devel] [bug] is this a little bug ? (spice-common/common/region.c)

zhou link freboat at gmail.com
Thu Mar 7 02:55:35 PST 2013


int region_bounds_intersects(const QRegion *rgn1, const QRegion *rgn2)
{
    pixman_box32_t *extents1, *extents2;

    extents1 = pixman_region32_extents((pixman_region32_t *)rgn1);
    extents2 = pixman_region32_extents((pixman_region32_t *)rgn1);
   ///////// the rgn1 shoud be rgn2 ?

    return EXTENTCHECK(extents1, extents2);
}


these code also exist in spice-gtk,  is this a  bug ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130307/30f22bd0/attachment.html>


More information about the Spice-devel mailing list