summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Lozano <ivanlozano@google.com>2017-09-26 11:08:08 -0700
committerIvan Lozano <ivanlozano@google.com>2017-09-27 10:31:07 -0700
commitd1792ee9c7397949745473749fac1738704256e4 (patch)
tree4274e8ca3a982d1a5d321ffa1a7633bd46b2d1b0
parent9b6434a58e442d433e559a0b9068e286d4ff99b5 (diff)
downloadlibnl-d1792ee9c7397949745473749fac1738704256e4.tar.gz
Add integer sanitization to libnl.
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
-rw-r--r--Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index f7b0a106..37c88a15 100644
--- a/Android.bp
+++ b/Android.bp
@@ -50,5 +50,9 @@ cc_library {
"-D_GNU_SOURCE",
"-DSYSCONFDIR=\"\\\"/etc/libnl\\\"\"",
],
+
+ sanitize: {
+ integer_overflow: true,
+ },
}