commit | b9c293b302374527885ad0e0365b1b9935e1f3e9 | [log] [tgz] |
---|---|---|
author | Rob Barnes <robbarnes@google.com> | Tue Sep 25 23:16:40 2018 -0600 |
committer | Rob Barnes <robbarnes@google.com> | Wed Sep 26 14:26:21 2018 -0600 |
tree | 3bbdeeb39368c8802a1e289e5f6e5ab36ac5b9aa | |
parent | 91fc4caa022c5c81bc58caf61692fd8907c40bbd [diff] |
Use unique temporary filename for keystore blob. If the writeBlob is invoked by concurrent threads, the temporary file can be deleted before the write operation completes. Bug: b/115688924 Test: atest keystore_unit_tests Test: atest KeystoreTests Test: atest cts/tests/tests/keystore/ Change-Id: Icdadacc9af4af281bff6fc17a6b43ba731377b53