diff options
author | weili <weili@chromium.org> | 2016-08-11 19:43:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-11 19:43:58 -0700 |
commit | 229d05df5bc5deb3890b26b614113c25d9b6935e (patch) | |
tree | 1491fa61aab052ac7784ef90c8a7b60368daac27 /pdfium.gyp | |
parent | 2736276deff3abef9d6b226eb9f585abe1384591 (diff) | |
download | pdfium-229d05df5bc5deb3890b26b614113c25d9b6935e.tar.xz |
Fix an integer overflow in CStretchEngine constructor
When the source bitmap's width and height are large,
the multiplication could easily overflow a signed integer.
Change to use 'long long' type for calculation to avoid that.
BUG=chromium:635663
Review-Url: https://codereview.chromium.org/2240723002
Diffstat (limited to 'pdfium.gyp')
-rw-r--r-- | pdfium.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pdfium.gyp b/pdfium.gyp index 1cc8758bd9..f04ce42d4f 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -949,6 +949,7 @@ 'core/fxcrt/fx_bidi_unittest.cpp', 'core/fxcrt/fx_extension_unittest.cpp', 'core/fxcrt/fx_system_unittest.cpp', + 'core/fxge/dib/fx_dib_engine_unittest.cpp', 'fpdfsdk/fpdfdoc_unittest.cpp', 'fpdfsdk/fpdfeditimg_unittest.cpp', 'testing/fx_string_testhelpers.h', |