summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Songchun Fan <schfan@google.com> 2022-10-11 18:08:11 -0700
committer Song Chun Fan <schfan@google.com> 2022-10-21 01:18:45 +0000
commitf60e5a4b7ce47d21a6e707fdad7a865dc0b0f0a3 (patch)
tree051f0e793ae220f9f3de5b89bb4f8a504a9e0343 /libs/androidfw/StringPool.cpp
parente3d56e69946aeffa0d9d9d3609b2c09126e1b6bb (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