summaryrefslogtreecommitdiff
path: root/libs/hwui/RenderNode.cpp
diff options
context:
space:
mode:
author William Loh <wloh@google.com> 2023-11-10 13:51:11 -0800
committer William Loh <wloh@google.com> 2023-11-10 16:31:38 -0800
commit21c90e0c9342b93f2a47fb460b2d2306625ea88a (patch)
treeda0b53c7c11d916740604f882da19c79f3a490d5 /libs/hwui/RenderNode.cpp
parent1897f8b2f0804f4336306eb90775ec368392c894 (diff)
Limit max meta data string values per component.
Impose a max size limit of 262,144 characters for all meta data strings combined for each component defined in the manifest. In combination with meta-data tag count and value attribute length limits, this limits the bundle size to ~0.5MB and prevents binder transactions failures when querying components with GET_META_DATA. Bug: 309027507 Test: atest AndroidPackageParsingValidationTest Test: manualy test POC malicious app fails to install Change-Id: I4ae91edfa388e337144a7b768b90a42626443a7a
Diffstat (limited to 'libs/hwui/RenderNode.cpp')
0 files changed, 0 insertions, 0 deletions