commit | 2569796daba6d47cb78746dccde14241b3a19729 | [log] [tgz] |
---|---|---|
author | Kevin Tang <zhikait@codeaurora.org> | Tue May 05 14:42:17 2020 +0530 |
committer | Harrison Lingren <hlingren@google.com> | Sat Jun 13 16:05:30 2020 -0700 |
tree | 42f4200fc9154a8aaca4f50e390d1656b5f1e60d | |
parent | c7e46349d26a75824457ef9f5e9e67f2a63a7a8c [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. Change-Id: I611db590d1fadbe43c74db71a1ea906dbe067c6d CRs-Fixed: 2144976 Bug: 129282808 Signed-off-by: Harrison Lingren <hlingren@google.com> Change-Id: I15ead5e2502b8b6455441a07e00293591f0f2fd4