summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorWinson <chiuwinson@google.com>2020-04-23 10:45:55 -0700
committerWinson <chiuwinson@google.com>2020-05-13 07:48:12 -0700
commit8f2ce504259193d67d8382f94186e00864143ab3 (patch)
treea11f5482d9ead5aa9d927ecb3fe475f6bad4302b /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0d85a392afcb57a5111a8620ce68944850235626 (diff)
Verify INSTALL_PACKAGES permissions when adding installer package
Without this check, any package can set the installer package of another package whose installer has been removed or was never set. This provides access to other privileged actions and is undesired. Bug: 150857253 Test: manual verify with proof of concept in linked bug Test: atest android.appsecurity.cts.PackageSetInstallerTest Change-Id: I2159c357911ff39ffd819054b42f96ae86bc98bc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions