summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorXusong Wang <xusongw@google.com>2021-08-23 11:36:19 -0700
committerXusong Wang <xusongw@google.com>2021-08-23 11:41:46 -0700
commitd2ecde5c54b32165d22641dcb3f96b2c0cc3cc4c (patch)
tree94004acf53d46c1c59c84282d6b402117568a4a9 /identity/support/src/cppbor_parse.cpp
parent7f23524b2cfb4db574a13fd5d02bd2b32019c4dc (diff)
Fix use-after-free crash in VtsHalNeuralnetworksTargetTest.
Prior to this CL, the AHardwareBuffer in TestBlobAHWB is released in the destructor, but later used (unlock) during the destruction of the mMapping member. This CL fixed this issue by managing the lifetime of AHardwareBuffer with SharedMemory. Bug: 197199690 Test: VtsHalNeuralnetworksTargetTest Change-Id: I00748aaaa1a3a3d9b3b62bedb77a655ddb6e210f
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions