commit | a3893027b781d588b2705a737f0eceaa15274278 | [log] [tgz] |
---|---|---|
author | Pawan Wagh <waghpawan@google.com> | Wed Jan 18 23:33:27 2023 +0000 |
committer | Pawan Wagh <waghpawan@google.com> | Mon May 01 21:16:05 2023 +0000 |
tree | 59b2bcb1041fe64f1524c8e58ae53db84aecd3c1 | |
parent | c2fa03fc8765ab1a35d440784c2a9aaaab9109b6 [diff] |
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 Merged-In: I8c728166540f22ebaded5025f7b3190568da5a6b Change-Id: I8c728166540f22ebaded5025f7b3190568da5a6b