diff options
author | Rubin Xu <rubinxu@google.com> | 2020-06-25 17:54:20 +0100 |
---|---|---|
committer | Rubin Xu <rubinxu@google.com> | 2020-06-26 16:22:13 +0100 |
commit | c6f4ebf799a25028e5f0deff4d370a6f0b30db8e (patch) | |
tree | 327b70eec51373f15cefd1591b02c2f5e149c330 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e658c76b5c1cdc67cf593ad000c5b862e31764fd (diff) |
Force garbage collection after credential verification
This is to sanitize memory containing sensitive user
lockscreen credentials. Most of LockSettingsService
already sanitizes credentials when needed, but there
is one copy of the credential unmarshalled from the
binder transaction and passed into LSS as argument
which is not easily sanitiziable manually except
by forcing a garbage collection.
Bug: 144537463
Test: atest com.android.server.locksettings
Test: go through Settings password change flow,
then take a heapdump of system_server and
verifies no password shard exists in the dump.
Change-Id: I3b0a2dab5766c40bc3ba9b38311c039337c408d3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions