[cairo-bugs] [Bug 90120] Image compositor can pass invalid coordinates to pixman_fill()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 21 00:01:44 PDT 2015


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

--- Comment #7 from Chris Wilson <chris at chris-wilson.co.uk> ---
Created attachment 115240
  --> https://bugs.freedesktop.org/attachment.cgi?id=115240&action=edit
Preliminary stroke validation

Imo, the important thing here, if we take the input validation path, is to only
apply it at the boundary of the fixed point representation i.e. so that we only
reject extreme values when rastering, but pass through to vector backends (or
apply their own range checking).

However, extreme line_width has a very simple interpretation and I think it
would be better for cairo to have a slow-but-safe rasteriser. Detecting when
the input path and style will produce illegal fixed point values and switching
to a double representation will allow us to generate output without crashing
with a slight loss of precision.

-- 
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/20150421/0a45b843/attachment.html>


More information about the cairo-bugs mailing list