commit | f3c297985f77ee5f75d0ae980187e59c24b8318a | [log] [tgz] |
---|---|---|
author | Ram Mohan <ram.mohan@ittiam.com> | Fri Sep 08 20:00:11 2023 +0530 |
committer | Dichen Zhang <dichenzhang@google.com> | Fri Sep 08 17:00:48 2023 +0000 |
tree | 32fe5115cc3c3f683b4f5d79ec6423da3bea1004 | |
parent | e1ecba3aea899ae52218e3d7246c61db9bdf7717 [diff] |
ultrahdr: asan fix, default initialize member variable The default value of mExifPos is commented as -1, but this is missing. Further size_t is usually defined as unsigned int resulting negative values as overflow. Best to declare it as ssize_t Bug: 299596513 Test: atest ultrahdr_unit_test Change-Id: I187f21aea44914993872def5a4889435d3f2d402