summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfppo.cpp
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-08-11 19:43:58 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-11 19:43:58 -0700
commit229d05df5bc5deb3890b26b614113c25d9b6935e (patch)
tree1491fa61aab052ac7784ef90c8a7b60368daac27 /fpdfsdk/fpdfppo.cpp
parent2736276deff3abef9d6b226eb9f585abe1384591 (diff)
downloadpdfium-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 'fpdfsdk/fpdfppo.cpp')
0 files changed, 0 insertions, 0 deletions