commit | 9dbce9fc6f3847df837ab5d8e42195ac4e7b6e6f | [log] [tgz] |
---|---|---|
author | Yin-Chia Yeh <yinchiayeh@google.com> | Mon Mar 16 11:35:25 2020 -0700 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu May 21 08:46:29 2020 +0000 |
tree | 586fca831c4bfd08e609116a62d4da92fc5552a7 | |
parent | 2f854df38ee203a7a77d36c0560aeb0180697335 [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 (cherry picked from commit cbbd7e06ac322f5f5e373be23379d06c10082864)