Chris Wilson writes:
> On Thu, 11 Aug 2011 06:43:03 -0400, Søren Sandmann wrote:
>> From: Søren Sandmann Pedersen
>>
>> There is no reason for pixman_image_create_bits() to check that the
>> image size fits in int32_t. The correct check is against size_t since
>> that is what the argument to c
On Thu, 11 Aug 2011 06:43:03 -0400, Søren Sandmann wrote:
> From: Søren Sandmann Pedersen
>
> There is no reason for pixman_image_create_bits() to check that the
> image size fits in int32_t. The correct check is against size_t since
> that is what the argument to calloc() is.
The only questi
From: Søren Sandmann Pedersen
There is no reason for pixman_image_create_bits() to check that the
image size fits in int32_t. The correct check is against size_t since
that is what the argument to calloc() is.
This patch fixes this by adding a new
_pixman_multiply_overflows_size() and using it i