commit | bdc293ac507b97a23747ff7a736de26c181370c5 | [log] [tgz] |
---|---|---|
author | Devin Moore <devinmoore@google.com> | Tue Jun 06 22:09:02 2023 +0000 |
committer | Devin Moore <devinmoore@google.com> | Wed Jun 07 20:15:12 2023 +0000 |
tree | 66cd0bb1ae003fb863c6746e5d2ed98a4e2722e8 | |
parent | 653739c1583ea7d2a198b74d47bf44eb43cd00fd [diff] |
ISensorServer: validate vector size before setCapacity If we don't check the size, we can run out of memory. Use the Parcel API that knows about the binder transaction size limits. Test: libsensorserviceaidl_fuzzer Bug: none Change-Id: I2d00e14e8c67e9899532577628c54e9a74f584d7