Tom Taylor e0f247e399 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 3671fd94ae)
2017-06-23 16:48:57 -07:00
2017-06-23 16:48:57 -07:00
Description
LineageOS Messaging app - base for default SMS handler
12 MiB
Languages
Java 97.6%
HTML 1.1%
C++ 0.8%
Shell 0.4%
Makefile 0.1%