aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2015-08-12 08:08:56 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-12 08:08:56 -0700
commitd0375bc4607f9d3f2ec427771e90ec7d284c174d (patch)
tree0fca66621db65f4f8c4d7a4ae09222ba672dda09 /resources
parente14c1fe04fc72ec9bcf55820b5c65a71d7d0a764 (diff)
Fix 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: Review URL: https://codereview.chromium.org/1273853004
Diffstat (limited to 'resources')
-rw-r--r--resources/invalid_images/mask-bmp-ico.icobin0 -> 67660 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/resources/invalid_images/mask-bmp-ico.ico b/resources/invalid_images/mask-bmp-ico.ico
new file mode 100644
index 0000000000..159699b21a
--- /dev/null
+++ b/resources/invalid_images/mask-bmp-ico.ico
Binary files differ