diff options
author | Hansong Zhang <hsz@google.com> | 2019-01-09 18:18:17 -0800 |
---|---|---|
committer | Tim Schumacher <timschumi@gmx.de> | 2019-07-07 14:40:23 +0200 |
commit | 3d34ee18a6b5e16ddf77157103a1c3cc5a777d3b (patch) | |
tree | b614615cd8d4a2969b58cbe165096485cedd350d /hci/src | |
parent | 1ce2f0f57ce8d450ff16c177f51304b3d3736319 (diff) | |
download | android_system_bt-3d34ee18a6b5e16ddf77157103a1c3cc5a777d3b.tar.gz android_system_bt-3d34ee18a6b5e16ddf77157103a1c3cc5a777d3b.tar.bz2 android_system_bt-3d34ee18a6b5e16ddf77157103a1c3cc5a777d3b.zip |
btm_proc_smp_cback: Don't access p_dev_rec if freed
In btm_proc_smp_cback(), return after p_dev_rec is freed in the middle
to prevent use after free
Bug: 120612744
Test: Use ASAN build; connect to a LE device and wait for timeout
Change-Id: Ic9d0eaeb62a1a1b24884146ca82f4104fabc5bac
(cherry picked from commit 953dd279502980b1d8d30656eb78c6445a6e31f7)
Diffstat (limited to 'hci/src')
0 files changed, 0 insertions, 0 deletions