commit | 0bb3a6222adcfb5288a679871decd087cc75ff61 | [log] [tgz] |
---|---|---|
author | Songchun Fan <schfan@google.com> | Tue Oct 11 18:08:11 2022 -0700 |
committer | Song Chun Fan <schfan@google.com> | Fri Oct 21 01:18:26 2022 +0000 |
tree | 32b9b5ff77661c4397da3d19c9ed22558e55bc78 | |
parent | 43c14f53f23a933348bc2a0ff4f089e4aaed4500 [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)