From 8328856ab141d154f4e1ab4b04375faec7661246 Mon Sep 17 00:00:00 2001 From: Ivan Lozano Date: Tue, 26 Sep 2017 11:08:08 -0700 Subject: 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) --- Android.bp | 4 ++++ 1 file changed, 4 insertions(+) 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, + }, } -- cgit v1.2.3