diff options
author | Suprabh Shukla <suprabh@google.com> | 2017-05-12 15:26:54 -0700 |
---|---|---|
committer | Suprabh Shukla <suprabh@google.com> | 2017-05-18 14:24:26 -0700 |
commit | 042a478b73c3b7f7cd73f5bb1af657cfe07d0571 (patch) | |
tree | d2963fa584ae769fef85401df2f0184d76b1e7d9 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | aff7c3c71e5d1762468630f4b9b90b9f89c81df0 (diff) |
Clearing up invalid entries when SyncStorageEngine starts
Any app with permission WRITE_SYNC_SETTINGS could write sync settings
for authorities or accounts that are not valid. This results in invalid
data being persisted to disk which can effectively lead to a DOS style
attack. Clearing such entries on boot will make sure that a reboot fixes
any such issues.
Test: cts-tradefed run cts-dev -m CtsSyncContentHostTestCases
Bug: 35028827
Change-Id: I9e206a42508e3cba65d7523bf47fff743f47dcb2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions