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

Skip to content
Commit bdc293ac authored by Devin Moore's avatar Devin Moore
Browse files

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
parent 653739c1
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