--- pixman/pixman-bits-image.c.old 2013-09-06 10:10:45.660258660 +0200 +++ pixman/pixman-bits-image.c 2013-09-06 10:10:55.610258786 +0200 @@ -1695,7 +1695,7 @@ create_bits (pixman_format_code_t format if (_pixman_multiply_overflows_size (height, stride)) return NULL; - buf_size = height * stride; + buf_size = (size_t)height * stride; if (rowstride_bytes) *rowstride_bytes = stride;