summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Lozano <ivanlozano@google.com>2017-09-26 11:08:08 -0700
committerIvan Lozano <ivanlozano@google.com>2018-03-22 10:33:58 -0700
commit8328856ab141d154f4e1ab4b04375faec7661246 (patch)
treecc93c926a8298a2877f61517847d8aa387d2ac92
parent64c97e454344635a8db7db3af3ee5aa120420da8 (diff)
downloadlibnl-8328856ab141d154f4e1ab4b04375faec7661246.tar.gz
Add integer sanitization to libnl.android-wear-p-preview-2
Turns on signed and unsigned integer overflow sanitization in libnl. Bug: 66952339 Bug: 62343822 Test: Booted the device, connected to WiFi, ran 'iw list' Change-Id: I35e09c056938217c740556e7de84b928ff5e2242 Merged-In: I35e09c056938217c740556e7de84b928ff5e2242 (cherry picked from commit d1792ee9c7397949745473749fac1738704256e4)
-rw-r--r--Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 74ca8e16..0f6aec68 100644
--- a/Android.bp
+++ b/Android.bp
@@ -59,5 +59,9 @@ cc_library {
"-D_GNU_SOURCE",
"-DSYSCONFDIR=\"\\\"/etc/libnl\\\"\"",
],
+
+ sanitize: {
+ integer_overflow: true,
+ },
}