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 02828740da)
This commit is contained in:
Ivan Lozano
2017-11-07 13:26:27 -08:00
parent ee48176ad6
commit 6593d714b6
2 changed files with 4 additions and 0 deletions

View File

@@ -89,4 +89,7 @@ cc_library {
// initialization with {}.
},
},
sanitize: {
blacklist: "libandroidfw_blacklist.txt",
},
}

View File

@@ -0,0 +1 @@
src:*/ResourceTypes.cpp