aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 620d6c6e..9f9b2efc 100644
--- a/Android.bp
+++ b/Android.bp
@@ -68,6 +68,8 @@ cc_defaults {
"android-*",
"cert-*",
"clang-analyzer-security*",
+ // Many calls to snprintf/sscanf/memset/memcpy in libbpf.c have the following warning.
+ "-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling",
// Disabling due to many unavoidable warnings from POSIX API usage.
"-google-runtime-int",
],