summaryrefslogtreecommitdiff
path: root/camera/common/1.0/default/CameraModule.cpp
diff options
context:
space:
mode:
authorJanis Danisevskis <jdanis@google.com>2018-11-09 07:51:56 -0800
committerJanis Danisevskis <jdanis@google.com>2018-11-09 10:49:55 -0800
commit9c41221206e0d57f702c5dd5eb1e133a21afb736 (patch)
tree84a1f8995d0396025065ce0575b82ac8122277f6 /camera/common/1.0/default/CameraModule.cpp
parentf1d854616ed20cdd0b33e7f393be398d55d08cc1 (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 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions