diff options
| author | 2020-09-22 13:05:15 -0700 | |
|---|---|---|
| committer | 2020-10-03 08:52:06 -0700 | |
| commit | 3b27b3b3bb36274171a9abb31f3e3f6b53036cf0 (patch) | |
| tree | 83c39cc001d7152c100cb92bed70151a2d5f252f /vulkan/libvulkan/api.cpp | |
| parent | 01f9863464fb07aea1f7f2180ec4eb76ab7e25ed (diff) | |
Prevent mEventCache UAF in SensorEventConnection
Since there is no check to see if SensorEventConnection has been
destroyed, the mEventCache pointer can still be used even after it
was freed.
Bug: 168211968
Test: Run test code that attempts to enable a sensor after destroying
the SensorEventConnection, and verify no system_server crash occurs.
Change-Id: Ia9275b7cc574df371cdb2e1b80c6699df193b580
Merged-In: Ia9275b7cc574df371cdb2e1b80c6699df193b580
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions