[Poppler-bugs] [Bug 105905] New: Blank page when tiling pattern's cell is too far

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 5 14:21:22 UTC 2018


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

            Bug ID: 105905
           Summary: Blank page when tiling pattern's cell is too far
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: mkasik at redhat.com

Created attachment 138621
  --> https://bugs.freedesktop.org/attachment.cgi?id=138621&action=edit
reproducer

Rendering of tiling pattern which has pattern matrix moving pattern cell far
away (e.g. /Matrix [ 0.96000 0 0 -0.96000 42.54000 245481.37900 ]) can fail on
allocation of memory (e.g. in CairoOutputDev).

I've prepared a patch which solves this issue by moving the pattern cell as
close to (0,0) as possible by integer number of cells in pattern matrix before
it is passed to tilingPatternFill().

Attached is page number 332 from a document where this can be reproduced
(https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/pdf/virtualization_deployment_and_administration_guide/Red_Hat_Enterprise_Linux-7-Virtualization_Deployment_and_Administration_Guide-en-US.pdf).

Link to the original bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1557355

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


More information about the Poppler-bugs mailing list