diff options
author | Tom Taylor <tomtaylor@google.com> | 2017-06-20 14:26:43 -0700 |
---|---|---|
committer | Dan Pasanen <dan.pasanen@gmail.com> | 2017-09-15 09:43:50 -0500 |
commit | 87f81d9f2eb7141eebcb0c373f4c2bb82689ed87 (patch) | |
tree | 7004a417fddf30b093ea57bfbbf479df7b2bafbc /res | |
parent | 0b0899a8e689b29b4f6ef28c9546a4f0968f84d5 (diff) | |
download | android_packages_apps_Messaging-87f81d9f2eb7141eebcb0c373f4c2bb82689ed87.tar.gz android_packages_apps_Messaging-87f81d9f2eb7141eebcb0c373f4c2bb82689ed87.tar.bz2 android_packages_apps_Messaging-87f81d9f2eb7141eebcb0c373f4c2bb82689ed87.zip |
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
(cherry picked from commit 3671fd94ae1aad5c51d0730066e7f0c7b4c893ce)
(cherry picked from commit e0f247e3994869567288f8057d9e3afec1dd2fe6)
Diffstat (limited to 'res')
0 files changed, 0 insertions, 0 deletions