[cairo-bugs] [Bug 84952] [PATCH] Recording surface ink extents: difference between two fixed point numbers may overflow before conversion to double

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 12 23:57:02 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84952

--- Comment #1 from Uli Schlachter <psychon at znc.in> ---
Do you happen to have a self-contained example program demonstrating the
problem that you are fixing? Could you provide patches as git commits (google
for git format-patch).

I am not sure about the problem that you are fixing. If the extents are large
enough to overflow the fixed point calculations, wouldn't other code (which
also uses the fixed point numbers) possibly run into the same overflows? So
while I agree that fixing this is a good idea, I am not sure that this actually
means that it becomes safe to use a recording surface with large-ish
coordinates.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20141013/530610e2/attachment.html>


More information about the cairo-bugs mailing list