diff options
author | Josh Gao <jmgao@google.com> | 2019-12-09 15:44:57 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2019-12-13 13:28:21 -0800 |
commit | 607fd5424a6e3ebb1acfc60bcd0cc411209d3c6d (patch) | |
tree | 5d664874ec0a20f58e6edb114fb9502b7465f81e /libutils/ProcessCallStack_fuzz.cpp | |
parent | 40a8b07e4dd786a445648deded7a4ecac5acc81e (diff) |
adb: fix use after free of atransport.
libadbd_auth might report authentication success for a transport that's
already been destroyed. Fix this by storing a weak pointer to the
atransport that gets cleared upon destruction instead of a raw pointer.
Bug: http://b/144704376
Test: ./test_adb.py
Test: ./test_device.py
Change-Id: Idffe027381e6b2e37f06aa0166e97cafc98eaf3b
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions