commit | 5c06c66e2cc55a76a92879bdd977d945d785f602 | [log] [tgz] |
---|---|---|
author | Yin-Chia Yeh <yinchiayeh@google.com> | Mon Mar 16 11:49:30 2020 -0700 |
committer | Anis Assi <anisassi@google.com> | Thu Apr 09 13:46:11 2020 -0700 |
tree | ea0735252c7647252312de58e354c2720f333a4c | |
parent | 48aad4d8791a794bd89148d72d13aff7445b8dd6 [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: I5b10b680e0cce96ca49e1772770adb4835545472 Change-Id: I5b10b680e0cce96ca49e1772770adb4835545472 (cherry picked from commit 1859a38c4d8f438eba9cb7b39be102747407fa36)