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
Loading
Please register or sign in to comment