commit | b61e206138607423e83ba34d823c6036f394f655 | [log] [tgz] |
---|---|---|
author | scroggo <scroggo@google.com> | Mon Nov 10 13:12:25 2014 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Mon Nov 10 13:12:25 2014 -0800 |
tree | 643b948ca1751c4268a3a616745995803e45ee58 | |
parent | 428b2a5a4f31334864b2834e8668e7498959580a [diff] |
Add tests (and fix!) for known bad ICO files. We previously saw crashes decoding bad ICO files. Add tests for known bad files. While testing, I learned that one of them still crashes. Check for large offset and size separately to fix the crash. BUG=skia:2878 Review URL: https://codereview.chromium.org/712123002