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
Merged-In: I35e09c056938217c740556e7de84b928ff5e2242
(cherry picked from commit d1792ee9c7397949745473749fac1738704256e4)
diff --git a/Android.bp b/Android.bp
index 74ca8e1..0f6aec6 100644
--- a/Android.bp
+++ b/Android.bp
@@ -59,5 +59,9 @@
"-D_GNU_SOURCE",
"-DSYSCONFDIR=\"\\\"/etc/libnl\\\"\"",
],
+
+ sanitize: {
+ integer_overflow: true,
+ },
}