[PATCH] mi/mibitblt: Fix an overflow bug of bit shift.

Adam Jackson ajax at nwnk.net
Fri Jan 6 11:31:45 PST 2012


On 1/4/12 2:01 AM, zhigang.gong at linux.intel.com wrote:
> From: Zhigang Gong<zhigang.gong at linux.intel.com>
>
> When depth equal to 32 and planeMask equal to 0, the overflow will
> occur and cause the pixmap can't be cleared. There are some test
> cases in XTS hit this bug, and this fix can eliminate the corresponding
> failures.
>
> Signed-off-by: Zhigang Gong<zhigang.gong at linux.intel.com>

Reviewed-by: Adam Jackson <ajax at redhat.com>

Merged in my 1.12 tree.

- ajax



More information about the xorg-devel mailing list