DescriptionFixup LoadImageInfo type checking.
The ::DetectImageType method does more then just detecting the image type, it
also sets up various needed structures to handle the decoding. Instead of
skipping the ::DetectImageType call this CL changes the code to return early if
the image check fails. This should allow us to stop working on images which do
not match the required data format.
BUG=chromium:621094
Committed: https://pdfium.googlesource.com/pdfium/+/54d027dbbff8a0270531855082e4f61cb457c173
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|