[Poppler-bugs] [Bug 81624] Segfault in CairoOutputDev::endTransparencyGroup

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 23 09:53:54 PDT 2014


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

--- Comment #1 from Carlos Garcia Campos <carlosgc at gnome.org> ---
The crash was introduced in c40e2315. The problem is that when entering the
cairo work around in CairoOutputDev::setSoftMaskFromImageMask() we return early
without creating the transparency group, but
CairoOutputDev::unsetSoftMaskFromImageMask() assumes the transparency group is
always created. Checking groupColorSpaceStack in unsetSoftMaskFromImageMask to
return early fixes the issue, but I'm not sure that's the best way to check
whether we are in a transparency group or not.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20140723/e258c93f/attachment.html>


More information about the Poppler-bugs mailing list