commit | cbbd7e06ac322f5f5e373be23379d06c10082864 | [log] [tgz] |
---|---|---|
author | Yin-Chia Yeh <yinchiayeh@google.com> | Mon Mar 16 11:35:25 2020 -0700 |
committer | Yin-Chia Yeh <yinchiayeh@google.com> | Mon Apr 06 17:10:31 2020 +0000 |
tree | 8edbc85b977a3b36a36adae7e882a7088e7d8fc3 | |
parent | 687d14d2fe23b87c584b41b01f24e3f2596baf18 [diff] |
RESTRICT AUTOMERGE: Camera: fix use after free in sensor timestamp The metadata object might be overriden later and has it memory re-allocated; hence snaping the sensor timestamp value before we call into any method that might change the metadata. Test: build Bug: 150944913 Merged-In: I0f944fc9133d3ab279859f20236d956d7ca338f8 Change-Id: I5b10b680e0cce96ca49e1772770adb4835545472