summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorEmilian Peev <epeev@google.com>2019-06-27 13:02:26 -0700
committerEmilian Peev <epeev@google.com>2019-06-28 17:03:12 +0000
commitfd4ce7e76a20b40c428293291fcb0e4488c122c8 (patch)
tree749fa9a90e42adad04e02804e6e8af957f2c3a23 /identity/support/src/cppbor_parse.cpp
parent33723f56b531312ea1476f138e6f1e7d3a8a6d6f (diff)
Camera: VTS: Don't access invalid resources
There is no guarantee that the static metadata pointer passed in the "DeviceCb" contructor will be valid after the call completes. The device callback instance is expected to be active until the camera session is open. Clone the required metadata in "DeviceCb" and manage the lifetime appropriately by using the "CameraMetadata" wrapper. Bug: 135976837 Test: CameraHidlTest#processCaptureRequestPreview Change-Id: Idd3c6c8c2e5a3fc44a49712e25a04009cbd471b1
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions