commit | 7b0d3908c718b60f3a0329fd9bf87c65f53aaa10 | [log] [tgz] |
---|---|---|
author | Songchun Fan <schfan@google.com> | Tue Oct 11 18:08:11 2022 -0700 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Nov 15 01:48:23 2022 +0000 |
tree | eb3dad410dd4b5ee440a9de28a93dd54f0d4613c | |
parent | b58e58dd0b695e17885a14899f0dc3ea959aa8e5 [diff] |
[RESTRICT AUTOMERGE][SettingsProvider] key size limit for mutating settings Prior to targetSdk 22, apps could add random system settings keys which opens an opportunity for OOM attacks. This CL adds a key size limit. BUG: 239415997 Test: manual; will add cts test Merged-In: Ic9e88c0cc3d7206c64ba5b5c7d15b50d1ffc9adc Change-Id: Ic9e88c0cc3d7206c64ba5b5c7d15b50d1ffc9adc (cherry picked from commit 783bcba343c480f6ccedaaff41ba7171a1082e0c) (cherry picked from commit f60e5a4b7ce47d21a6e707fdad7a865dc0b0f0a3) Merged-In: Ic9e88c0cc3d7206c64ba5b5c7d15b50d1ffc9adc