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:17:21 +0000
commitbff32495de9e3452d6e2dc573136c5aa6f02743a (patch)
tree037aea554ea76c09d631e7788a384fe90f0d2dee /libs/androidfw/StringPool.cpp
parent89e0dcf643ae6a1d0c41176243d9d297af84bd3e (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