Add MemorySanitizer support for opk_ta tests

Merge from Widevine repo of http://go/wvgerrit/169087

- Add opk_ta_msan platform and CI script
- Fix uninitialized memory reads identified by MemorySanitizer

Merged from https://widevine-internal-review.googlesource.com/163237
Merged from https://widevine-internal-review.googlesource.com/168058

Bug: 260089091
Change-Id: If33f061631da92a41b9c507843772f104b76515f
This commit is contained in:
Ian Benz
2023-03-27 19:42:29 -07:00
committed by Fred Gylys-Colwell
parent 0972c59fc0
commit f2cc88c0f7

View File

@@ -308,7 +308,7 @@ class CdmSession {
// Only assign |usage_table_| if capable of supporting usage
// information.
CdmUsageTable* usage_table_ = nullptr;
UsageEntryIndex usage_entry_index_;
UsageEntryIndex usage_entry_index_ = 0;
UsageEntry usage_entry_;
std::string usage_provider_session_token_;