commit | e2b60c810282b7cd09af8544dd479ff5adba46f0 | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Fri Jul 17 16:21:44 2015 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Fri Jul 17 16:41:31 2015 -0700 |
tree | 314001856b6ecdb6708c3cba3c642771666259af | |
parent | b9f72ab0b0b7582e021d369e7179022f7be5b37d [diff] |
CameraMetadata: Add sanity check to avoid accidental memory corruption. Update shouldn't be called with a pointer from the metadata structure being updated, since it might be resized. The API really needs rework, but until that happens, detect this condition and error out. Bug: 22542551 Change-Id: I896c34d8134ac3b101d050fc8aa5d203a08e7267