Android 9.0.0 Release 57 (6454888)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCXtWQAgAKCRDorT+BmrEO
eFIsAJ49D+94LB9XfsCj/OJBsaX+qRV5XACeMDBGMVZyAZ4nNC4r58CMJiJZg4w=
=OJNp
-----END PGP SIGNATURE-----
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)
1 file changed