diff options
| author | Janis Danisevskis <jdanis@google.com> | 2018-11-09 07:51:56 -0800 |
|---|---|---|
| committer | Janis Danisevskis <jdanis@google.com> | 2018-11-09 10:49:55 -0800 |
| commit | 9c41221206e0d57f702c5dd5eb1e133a21afb736 (patch) | |
| tree | 84a1f8995d0396025065ce0575b82ac8122277f6 /identity/support/src/cppbor_parse.cpp | |
| parent | f1d854616ed20cdd0b33e7f393be398d55d08cc1 (diff) | |
Removed unsafe use of hidl_vec<>.setToExternal
hidl_vec objects that do not own their associated buffer are highly
unsafe in multithreaded environments where move semantic is used to
transfer ownership between threads. With keystore transitioning to a
multi threaded execution model we can no longer use this optimization
safely.
Bug: 111443219
Test: Ran full keystore cts test suite.
Change-Id: I9a366fc7df5dfee508dc092855545963ef6d9665
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions
