diff options
| author | 2022-10-11 18:08:11 -0700 | |
|---|---|---|
| committer | 2022-10-24 17:29:19 +0000 | |
| commit | f1831c87122e56951c04e1f62f647ab156ca71e3 (patch) | |
| tree | 6b5620d24fcd7d6a0fec78df57f408bb2c5f76bb /libs/androidfw/StringPool.cpp | |
| parent | d85a42821075ad80b931d904bdc9c1d4c3129456 (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)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions