b61e206138607423e83ba34d823c6036f394f655 |
|
10-Nov-2014 |
scroggo <scroggo@google.com> |
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
/external/skia/tests/BadIcoTest.cpp
|