aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Lozano <ivanlozano@google.com>2018-10-04 14:52:52 -0700
committerIvan Lozano <ivanlozano@google.com>2018-10-04 14:52:52 -0700
commit6f7cc0731bfadd23e738cbcc8765684390fe91a8 (patch)
treed509a9e2fa8467e25e6e0f83b6a76d0b591112b4
parentdee8e5350567a09899a73c8586f9ff2aa7bf303b (diff)
downloadlibogg-6f7cc0731bfadd23e738cbcc8765684390fe91a8.tar.gz
Enable bounds sanitization in libogg.
Enables bounds sanitization in libogg, initially with diagnostics. Bug: 117221610 Test: Device boots Change-Id: I3e95c364154030d843e88a1cd9e585df07686f02
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 46ff75e..efab715 100644
--- a/Android.bp
+++ b/Android.bp
@@ -13,8 +13,10 @@ cc_library_static {
sdk_version: "14",
sanitize: {
integer_overflow: true,
+ misc_undefined: ["bounds"],
diag: {
integer_overflow: true,
+ misc_undefined: ["bounds"],
},
},
}