summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fsdk_mgr.cpp
diff options
context:
space:
mode:
authorBo Xu <bo_xu@foxitsoftware.com>2014-07-31 09:55:36 -0700
committerBo Xu <bo_xu@foxitsoftware.com>2014-07-31 09:55:36 -0700
commit2fd400c319c68b4b8bd741c0df51c8846c40a276 (patch)
tree4ad54aae90cccff87be7107afa06f3ce28d1e481 /fpdfsdk/src/fsdk_mgr.cpp
parent10ec7ca17e7ec9aa68fd051c5fe5a6c75092dd79 (diff)
downloadpdfium-2fd400c319c68b4b8bd741c0df51c8846c40a276.tar.xz
Fix 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 Review URL: https://codereview.chromium.org/432543002
Diffstat (limited to 'fpdfsdk/src/fsdk_mgr.cpp')
0 files changed, 0 insertions, 0 deletions