Bug 91240 - PDF with nested softmasks causes crashes
Summary: PDF with nested softmasks causes crashes
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: splash backend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-06 11:36 UTC by Thomas Freitag
Modified: 2015-07-07 16:50 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
enable the usage of nested softmasks (2.36 KB, patch)
2015-07-06 11:37 UTC, Thomas Freitag
Details | Splinter Review

Description Thomas Freitag 2015-07-06 11:36:05 UTC
In SplashOutputDev::unsetSoftMaskFromImageMask the maskBitmap is reset to NULL. So if a PDF has nested softmasks, the inner one resets it and the outer one uses then the null pointer which results in a crash.

My sample bitmap is to huge and not public, therefore is send it in private.
Comment 1 Thomas Freitag 2015-07-06 11:37:20 UTC
Created attachment 116972 [details] [review]
enable the usage of nested softmasks

This patch solves the issue
Comment 2 Albert Astals Cid 2015-07-07 16:50:42 UTC
Pushed :)


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.