commit | a9249b2326cc16daf70beba36599e4c7e0e7c78b | [log] [tgz] |
---|---|---|
author | Edwin Wong <edwinwong@google.com> | Tue Jan 05 19:59:11 2021 -0800 |
committer | Edwin Wong <edwinwong@google.com> | Mon Feb 01 18:36:40 2021 +0000 |
tree | 85a3b42395c95fc1af1425ee253325c3bba4a255 | |
parent | f34c91d222e01c22b8fc50984e5be1a23bfab8b3 [diff] |
[RESTRICT AUTOMERGE] Fix double free of play policy in a race condition. The mPlayPolicy can be freed twice if there is a race condition. mPlayPolicy should be protected with a mutex lock. SafetyNet logging is not added to avoid log spamming. The mutex lock is called whenever a license request is made. That can happen quite often. Bug: 176168330 Test: TreeHugger build Change-Id: Idccbc768c17676087dd66fcdd568bac402202e8f