Fix an overflow in the new radial gradient code
authorAndrea Canciani <ranma42@gmail.com>
Tue, 12 Oct 2010 13:38:20 +0000 (15:38 +0200)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Wed, 20 Oct 2010 20:22:29 +0000 (16:22 -0400)
commita966cd04c16ad0c34b0f17e9021a4f3532575ca4
treea5692b289ab550e46124e0d3a835bb0ca3ebe06c
parent70658f0a6bd451a21fbb43df7865a7dac95abe24
Fix an overflow in the new radial gradient code

huge-radial in the cairo test suite pointed out an undocumented
overflow in the radial gradient code.
By casting to pixman_fixed_48_16_t before doing the operations,
the overflow can be avoided.
pixman/pixman-radial-gradient.c