Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 21c90e0c authored by William Loh's avatar William Loh
Browse files

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
parent 1897f8b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment