Summary: | segfault in composite_aligned_boxes if image upload has a negative coordinate | ||
---|---|---|---|
Product: | cairo | Reporter: | Alban Browaeys <prahal> |
Component: | general | Assignee: | Chris Wilson <chris> |
Status: | RESOLVED FIXED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | major | ||
Priority: | medium | ||
Version: | 1.12.14 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Alban Browaeys
2013-04-06 03:16:20 UTC
The bug is not the negative coordinate, but that 42000 is an impossible surface size on X. The bug in cairo is trivial in comparison to the garbage being fed in. Please make sure that is fixed as well - I am pretty sure no one wants to create a 42,000 pixel wide surface to render a frame that is less than 800 pixels across. commit 04b9d5d9b1ab8544fc0918d8ced90dc70641e727 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sat Apr 6 09:07:24 2013 +0100 xlib: Wrap errors generating sources in an error surface Once upon a time the wrapping was provided by the caller, but the current requirement is that the error is propagated back as an error surface. Bugzilla: http://bugs.freedesktop.org/show_bug.cgi?id=63196 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> This only fixes the crash, it cannot fix the invalid rendering. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.