[cairo-bugs] [Bug 101531] NULL pointer dereference in cairo-polygon-intersect.c:1170

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 20 23:18:19 UTC 2017


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

--- Comment #1 from Bryce Harrington <bryce at osg.samsung.com> ---
Created attachment 134390
  --> https://bugs.freedesktop.org/attachment.cgi?id=134390&action=edit
Adds the proposed null ptr check

Attached is a patch to implement the proposed null ptr check.

However, what's needed is an analysis of the PDF to see how exactly it's
constructing this invalid data, since I seriously doubt having right==NULL is a
valid software condition.  So, ideally, this should be an assert() not a null
ptr check.

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


More information about the cairo-bugs mailing list