Skip to content

avoid bogus memory allocation size in doTilingPatternFill

Thomas Freitag requested to merge thomas/poppler:issue_1406 into master

In case the calculated size of the tiling pattern bitmap is less than 1x1 pixel, we increase only the size of the tiling pattern bitmap and adjust the transformation matrix, but we can also reduce the repeat factor for this now bigger bitmap. This avoids a 'bogus memory allocation size' in several cases!

Merge request reports