diff options
author | kholoud mohamed <kholoudm@google.com> | 2021-04-28 16:29:01 +0100 |
---|---|---|
committer | kholoud mohamed <kholoudm@google.com> | 2021-04-28 16:38:51 +0100 |
commit | 1df91489315266dd5c3933b442b15a51a55a3ec9 (patch) | |
tree | 51a07c2d3b51ed64f0abb8974b9492b9fd6dd44a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 3e7a628f0fba7c8b8f0dddc41dd061bd876a9c02 (diff) |
Fix security vulnerability in DPMS#setProfileOwner
Fail with a more general error message if the provided component is not
installed, this avoids exploiting the API to identify which packages are
installed without holding QUERY_ALL_PACKAGES
Test: Manual testing
Bug: 184658476
Change-Id: I47b80acb4c847f3bc0c6550deca40b192f57d598
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions