commit | c4087ff5486d36a690c681affb668164ec0dd697 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <[email protected]> | Fri Feb 24 15:33:24 2017 -0500 |
committer | android-build-team Robot <[email protected]> | Wed May 24 21:53:29 2017 +0000 |
tree | 6a326255fe35f9807b36f36f9cb07dcb0d2b410c | |
parent | 042ec713958d0d1c9b6f8f57559fbe4861926c2c [diff] |
Set a limit on the size for BMP images DO NOT MERGE This limit matches the limit used by Chromium. I am not aware of any real world BMPs that are larger than this (or even close to it), but there are some invalid BMPs that are larger than this, leading to crashes when we try to read a row. Bug:34778578 BUG=skia:3617 Change-Id: I0f662e8d0d7bc0b084e86d0c9288b831e1b296d7 Reviewed-on: https://skia-review.googlesource.com/8966 Reviewed-by: Matt Sarett <[email protected]> Commit-Queue: Leon Scroggins <[email protected]> (cherry picked from commit 70eb18cb85c088fbf7b1545515af28769c0097e0)