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:
@@ -89,4 +89,7 @@ cc_library {
|
||||
// initialization with {}.
|
||||
},
|
||||
},
|
||||
sanitize: {
|
||||
blacklist: "libandroidfw_blacklist.txt",
|
||||
},
|
||||
}
|
||||
|
||||
1
libs/androidfw/libandroidfw_blacklist.txt
Normal file
1
libs/androidfw/libandroidfw_blacklist.txt
Normal file
@@ -0,0 +1 @@
|
||||
src:*/ResourceTypes.cpp
|
||||
Reference in New Issue
Block a user