DescriptionFix bmp RLE "bug"
Chromium's test suite contains an RLE image that reports a certain
file size in the header, but then contains additional encoded data.
Our bmp decoder would only decode half of the image, before stopping.
With this fix, we check for additional data before returning
kIncompleteInput.
If this lands, I will upload the test image to the bots.
Also adding an invalid image test to CodexTest.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/d0375bc4607f9d3f2ec427771e90ec7d284c174d
Patch Set 1 #
Total comments: 14
Patch Set 2 : Response to comments plus final nits from 1258863008 #
Total comments: 14
Patch Set 3 : Rebase #Patch Set 4 : Response to comments #
Depends on Patchset: Messages
Total messages: 10 (3 generated)
|