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

Commit b4c9d9ad authored by Pawan Wagh's avatar Pawan Wagh
Browse files

Adding allocation size check when creating arrays in java parcel

Unchecked allocations were causing OOM issues in services. Adding
a check while allocating array.

Bug: 205282403
Test: m && acloud delete --all && acloud create --local-image --local-instance
&& atest -c android.os.cts.ParcelTest

Change-Id: I8c728166540f22ebaded5025f7b3190568da5a6b
parent 923d9331
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