OSDN Git Service

Enable bounds sanitization in Bluetooth.
authorIvan Lozano <ivanlozano@google.com>
Fri, 28 Sep 2018 18:23:51 +0000 (11:23 -0700)
committerHansong Zhang <hsz@google.com>
Fri, 9 Nov 2018 01:34:32 +0000 (01:34 +0000)
commitbe596a870dbf431a5e97682c819088eb30ddfb20
treedad3340f859d16ea67f3407ab5db060d44ca9134
parentb5629de6eda2c4744b0f8037692aa0b668c96c61
Enable bounds sanitization in Bluetooth.

This enables UBSan bounds sanitization in our bluetooth modules.
This adds run-time bounds checks where the compiler can statically
determine the array bounds.

Bug: 116517182
Test: Pairing devices, playing audio, sharing files.
Change-Id: I9a3ac98aaa6092ac0ad8d1ba080a76b3203bdb26
build/Android.bp