DescriptionFix integer overflow when stretch bitmap
When an image object is zoomed in by a big factor, the scaling factor in the transformation matrix is big as well, resulting in a large |dest_width| and |dest_height| value(they can be think of as the equivalent pixel size of the entire image, although most of it is outside the device).
BUG=395636
R=vitalybuka@chromium.org
Committed: https://pdfium.googlesource.com/pdfium/+/2fd400c
Patch Set 1 #
Total comments: 2
Patch Set 2 : Use long long #
Total comments: 4
Patch Set 3 : Use FX_INT64 #Messages
Total messages: 9 (0 generated)
|