diff options
| author | 2022-10-27 00:17:32 +0000 | |
|---|---|---|
| committer | 2023-01-12 01:01:02 +0000 | |
| commit | 02b90551b98575cc1609e38f4571e874e7e904bf (patch) | |
| tree | 1a2d41c2cec70b17b4d4beb9b05245ea781eb08c /libs/androidfw/AttributeResolution.cpp | |
| parent | e8072d98497c4d232319a2b1ba9e7e66a80a675f (diff) | |
Don't remove permission when cleaning up orphaned tree on uninstall
This is fixing a security bug in a relatively safe way. Fundamentally
this situation shouldn't be happening. It's an artifact of the way that
the manifest parsing is loose with types. We can consider a more
thorough and upstream fix for upcoming OS releases, but for impact risk
mitigation this is a relatively constrained change.
Bug: 225880325
Test: Tests are included for the more thorough fix.
Change-Id: I86801109ce2d9c2750c6dfef4bb0425df0ab135e
Merged-In: I86801109ce2d9c2750c6dfef4bb0425df0ab135e
(cherry picked from commit d8572e2747720856ae33bbdf96a15b01981d0720)
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions