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

Commit 2c637955 authored by yutingfang's avatar yutingfang
Browse files

Use ParceledListSlice to paginate response from getPackagesForOpsForDevice binder API

In a previous similar security bug fix ag/31434165 we imposed a
threshold on the number of attributed op entries returned for a single
package. But in this bug, the POC app created attributed op entries for
hundreds of packages which caused TransactionTooLargeException in getPackagesForOpsForDevice binder API.
So the fix is to add pagination in the binder response by using
ParceledListSlice.

Bug: 416490321
Test: Use the POC app in the bug report, verified after the fix there
was no more crashes from SystemUi and the device could boot
successfully.
Flag: EXEMPT security bug fix

Change-Id: If4590160d1d743f58c1aed3f923d3668a8936c57
parent 86453356
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment