commit | 9e4043a97174056d4ccc9d0347ea69fabfa9eaf9 | [log] [tgz] |
---|---|---|
author | Kevin Tang <zhikait@codeaurora.org> | Fri Dec 15 18:53:25 2017 -0800 |
committer | Alain Vongsouvanh <alainv@google.com> | Wed May 16 22:37:26 2018 +0000 |
tree | c5ecb9e4322a9e4376d745f98f64f849e90b3f7a | |
parent | 9f6138fc1bf5470861dca973b0b0e62532402815 [diff] |
fixing the location api level race condition on callbacks At the layer right under HIDL impl, where the callback objs are received from HIDL and used by HAL layer, there is race condition volnerability which could yield using a incompletely copied sp obj. Added mutex protection. Bug: 79541486 Change-Id: I611db590d1fadbe43c74db71a1ea906dbe067c6d CRs-Fixed: 2144976 (cherry picked from commit f1ee0f801e75dc89ff776bdefd148c63d128b6b4)