DescriptionFix 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
Committed: https://pdfium.googlesource.com/pdfium/+/229d05df5bc5deb3890b26b614113c25d9b6935e
Patch Set 1 #
Messages
Total messages: 11 (7 generated)
|