Fix overflows during trap rasterization. [Bug 16560].
authorAdam Jackson <ajax@nwnk.net>
Fri, 15 May 2009 10:26:48 +0000 (06:26 -0400)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Fri, 15 May 2009 10:33:00 +0000 (06:33 -0400)
commite483af47db769fcba559dda72699bc80d154b575
tree76d749b3262a8adb6e456ca916c87c7c3d52e223
parente17fc72e958e1ddee0b24e8a90ae9609e1e44391
Fix overflows during trap rasterization. [Bug 16560].

Avoid overflows when rasterizing traps that fall entirely in the space
between the final sample row and the end of the coordinate system, or
in the space between the beginning of the coordinate system and the
first sample row. Such traps don't contain any sample points, so the
top and bottom of the edges can safely be moved to the beginning/end.
pixman/pixman-utils.c