commit | 15f6e85ab4ee8997d80ecd3d16bb60012ee493a1 | [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:16:16 2022 +0000 |
tree | c4c4443a4857472aa585b31320d8f3437ca9d64b | |
parent | 8a46d49bd4fa6e530e7f56f48e883e9e1b251b17 [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)