[cairo] Fix for potential crash in pixman-compose.c

Antoine Azar cairo at antoineazar.com
Wed Feb 13 23:32:55 PST 2008


Hey guys,

here's a patch that fixes a potential crash in pixman-compose.c when 
a box is used in some cases while not allocated or initialized. Mea 
culpa, the bug was introduced in my refactoring of the 
fbFetchTransform. The fix was not necessary in every fetch function 
but it makes the code more consistent and safer for future changes. 
Thanks to Soeren for spotting it!

Antoine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Fixed-potential-crash-with-uninitialized-box.patch
Type: application/octet-stream
Size: 9104 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080214/5d294fca/attachment.obj 


More information about the cairo mailing list