Chromium Code Reviews
DescriptionCheck if image width or height are zero before proceeding.
If the width of the CJBig2_Image is set to 0 then the stride_pixels will be
zero and when we divide we'll get a floating point exception.
If the width or height are zero then we can exit early without proceeding with
the rest of the constructor.
BUG=chromium:635008
Committed: https://pdfium.googlesource.com/pdfium/+/b1b8668ef12ae4e7fcb5fbf3f01fa623a319a092
Patch Set 1 #
Messages
Total messages: 10 (6 generated)
|
|||||||||||||||||||