commit | 7036c2b48c219b498ae489689ac4c3e1a2f74f25 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Fri Jul 21 17:25:45 2023 +0100 |
committer | Andrew Walbran <qwandor@google.com> | Tue Jul 25 17:04:45 2023 +0100 |
tree | ce47b2bf51fc62ea11ce099cd91cae8f59293f2b | |
parent | 937084f5905f71adfdc570150f481e5feaab28bd [diff] |
Fix soundness issue in keystore2. Sync was incorrectly implemented for AuthRequest, allowing simultaneous access to a Receiver from multiple threads despite it not being threadsafe. Use a Mutex instead to do this safely. Bug: 290018030 Test: m rust Change-Id: I6f43f13d5f36bdbafc9bd910a1ebadbb1366009d