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

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

 



Hi,

Thanks for catching this!

On 03/07/2013 11:55 AM, zhou link wrote:
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 ?

Certainly looks like a bug to me. But I'll let others who know the code
better comment on this / review it, before we fix it.

Regards,

Hans


_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]