summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Yuri Lin <yurilin@google.com> 2022-09-13 12:53:19 -0400
committer Yuri Lin <yurilin@google.com> 2022-09-15 15:14:09 +0000
commit73ad3844ac30ba7ca7c269bf50982427e8703354 (patch)
tree0a08e003ca970f28897d0648dc9e2fc09eec32bc /libs/androidfw/StringPool.cpp
parent3bf1fa119880865c9e2ec7aac1393d6dcc2305eb (diff)
Limit lengths of fields in Condition to a max length.
This app-generated input needs to not be too long to avoid errors in the process of writing to disk. Bug: 242846316 Test: cts ConditionTest; atest ConditionTest; manually verified exploit apk is OK Change-Id: Ic2fa8f06cc7a4c1f262115764fbd1be2a226b4b9 Merged-In: Ic2fa8f06cc7a4c1f262115764fbd1be2a226b4b9 (cherry picked from commit 81352c3775949c622441e10b468766441e35edc7)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions