diff options
author | Leon Scroggins III <scroggo@google.com> | 2015-01-27 11:12:02 -0500 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2015-01-27 19:04:57 +0000 |
commit | 9a6143fab7d93797e4b22a12b89e07c160e5c31d (patch) | |
tree | 5544fdbfd45cc39996dac0b40d2a2229220779a7 /core/tests/coretests/src | |
parent | 1c2b0d52144dc94a7d1dcefb7e4fbd7fb29f5202 (diff) | |
download | frameworks_base-9a6143fab7d93797e4b22a12b89e07c160e5c31d.zip frameworks_base-9a6143fab7d93797e4b22a12b89e07c160e5c31d.tar.gz frameworks_base-9a6143fab7d93797e4b22a12b89e07c160e5c31d.tar.bz2 |
Handle bad ninepatch data.
Changes proposed by Ben Hawkes of Google Project Zero.
NinePatchPeeker.cpp:
Instead of asserting, return false for bad data.
ResourceTypes.h:
Store ninepatch values as unsigned.
BUG:19151999
Change-Id: Ibe35e7569f632c6bb8a34a7701e26bb6ed547ec2
(cherry picked from commit a730ef3f77fc495bc90199b4d45efab26d609782)
Diffstat (limited to 'core/tests/coretests/src')
0 files changed, 0 insertions, 0 deletions