commit | dcd207a7b38bbbb0de09dedb62ed2ab7de913b7d | [log] [tgz] |
---|---|---|
author | Jackal Guo <jackalguo@google.com> | Mon Nov 01 14:32:31 2021 +0800 |
committer | Jackal Guo <jackalguo@google.com> | Mon Nov 01 14:32:31 2021 +0800 |
tree | 83a64e1ab311057c91aba5518b196e6fe3a8e3c0 | |
parent | 419a371e7aff52c4029f345a72f4c344bf4e743e [diff] |
Revise the logic of verifyCallingPackage Combining the two SecurityException check in verifyCallingPackage to mitigate the potential information leakage. Bug: 204082360 Bug: 204082784 Test: atest CtsAppSearchTestCases \ FrameworksCoreTests:android.app.appsearch \ FrameworksServicesTests:com.android.server.appsearch \ CtsAppSearchHostTestCases Test: manually using the PoC in the buganizer to ensure the symptom no longer exists. Change-Id: I6ccb6be55f948b074b63e99c24908a53bcb7dbcf