commit | 683a4b5bf75cacfaaa8e4501fadd48ef0f7e5e19 | [log] [tgz] |
---|---|---|
author | Cheney Ni <cheneyni@google.com> | Fri Aug 23 23:05:19 2019 +0800 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Sep 20 02:17:35 2019 +0000 |
tree | 8dcdc6fb3484ccbb6f6a93ce6d843449124943a2 | |
parent | d42f066472c524d488611d19ddd3e606af915178 [diff] |
AdapterService: Check the PIN code length before using The length is assigned by the framework. We should be better to check again before using, and dropped any unexcepted input. Bug: 139287605 Test: PoC, atest -t BluetoothInstrumentationTests:com.android.bluetooth.btservice Change-Id: Ie2dd01e0b192e7ed1fe4b464618ddfa415dbf15c (cherry picked from commit d6c84aa34962333448e0ed8e4ddbc9de8b73c5ac)