commit | 3671fd94ae1aad5c51d0730066e7f0c7b4c893ce | [log] [tgz] |
---|---|---|
author | Tom Taylor <tomtaylor@google.com> | Tue Jun 20 14:26:43 2017 -0700 |
committer | Tom Taylor <tomtaylor@google.com> | Fri Jun 23 14:09:12 2017 -0700 |
tree | 87322725938ae70eac8d317378862f76e1e973bd | |
parent | 11224977e72b1576cf6fff0c2154361a9d2ded2e [diff] |
37742976 - Catch bad gifs * A security researcher crafted a gif that would cause the Android Bitmap code to throw an NPE. That would cause messaging to crash when decoding the NPE. Catch the NPE. Test: manually tested the "crash.gif" attached to the bug. Stepped through the debugger to verify we're catching the NPE and logging the attempt. Verified normal gifs still work. BUG=37742976 Change-Id: Iab814d5b0b514bed0cecddd9a76f1fc095f90892