diff options
author | Bo Xu <bo_xu@foxitsoftware.com> | 2014-07-31 09:55:36 -0700 |
---|---|---|
committer | Bo Xu <bo_xu@foxitsoftware.com> | 2014-07-31 09:55:36 -0700 |
commit | 2fd400c319c68b4b8bd741c0df51c8846c40a276 (patch) | |
tree | 4ad54aae90cccff87be7107afa06f3ce28d1e481 /fpdfsdk/src/javascript/JS_Value.cpp | |
parent | 10ec7ca17e7ec9aa68fd051c5fe5a6c75092dd79 (diff) | |
download | pdfium-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/javascript/JS_Value.cpp')
0 files changed, 0 insertions, 0 deletions