commit | 4b7b14770c4290eaeaebadf0e99ffdfdbd8f725c | [log] [tgz] |
---|---|---|
author | Emilian Peev <epeev@google.com> | Mon Mar 02 15:38:38 2020 -0800 |
committer | Emilian Peev <epeev@google.com> | Wed Mar 04 08:39:34 2020 -0800 |
tree | 347ee96738f1bd300d53fbc0f6ea54f8ccbbd98a | |
parent | 1a6756b78ad1c7fca57cb8521081fc01181e8f83 [diff] |
libexif: Avoid accessing invalid data Exif tags Make and Model can be undefined or lack string terminators. Check the EXIF size before trying to compare their values to constant strings. Bug: 147140917 Test: run sts-engbuild-no-spl-lock -m StsHostTestCases --test android.security.sts.Poc20_03#testPocBug_147140917 Change-Id: I255f1937bec99bff7e72482d525f252290d1ddaf