diff options
author | Ivan Lozano <ivanlozano@google.com> | 2017-11-07 13:26:27 -0800 |
---|---|---|
committer | Ivan Lozano <ivanlozano@google.com> | 2017-12-28 09:14:42 -0800 |
commit | 6593d714b6e1feb3b42d23f4af72e340f0ab0a78 (patch) | |
tree | 393ca5d238939935adbe5faef9b60ed666ce3cf5 /libs/androidfw/Android.bp | |
parent | ee48176ad6bb61abf4a2eb1024be2a1ee555c8a8 (diff) |
Disable sanitizer entirely in ResourceTypes.cpp
The unsigned integer overflow sanitizer catches an overflow on
Res_GETPACKAGE usages. This is used in a number of places in
ResourceTypes.cpp in a number of large functions. For now, lets disable
the sanitizer in this source file.
Test: Compiles and device boots without runtime errors.
Bug: 30969751
Change-Id: Id9e0776ef819c895a3194a32da5c85459f1af431
Merged-In: Id9e0776ef819c895a3194a32da5c85459f1af431
(cherry picked from commit 02828740da7481a48e7872b22213047025894525)
Diffstat (limited to 'libs/androidfw/Android.bp')
-rw-r--r-- | libs/androidfw/Android.bp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/androidfw/Android.bp b/libs/androidfw/Android.bp index c4c14c9e32d4..1d14fa0d55f7 100644 --- a/libs/androidfw/Android.bp +++ b/libs/androidfw/Android.bp @@ -89,4 +89,7 @@ cc_library { // initialization with {}. }, }, + sanitize: { + blacklist: "libandroidfw_blacklist.txt", + }, } |