diff options
| author | 2022-10-27 00:17:32 +0000 | |
|---|---|---|
| committer | 2022-10-27 00:37:42 +0000 | |
| commit | d8572e2747720856ae33bbdf96a15b01981d0720 (patch) | |
| tree | 525a9df0162db371cc0abff0a0f5e9fd06969e55 /libs/androidfw/StringPool.cpp | |
| parent | 23f2e0ec968223fe294531379578370cbd83ee85 (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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions