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

Skip to content
Commit bbbd88da authored by Bernardo Rufino's avatar Bernardo Rufino
Browse files

Fix offset check in Parcel::hasFileDescriptorsInRange()

We should throw if the offset is equals to the data size since it's
zero-indexed.

Test: atest -d android.os.cts.ParcelTest
Change-Id: Ie93b6073ed9383ce8e0deeb78ffb50246fb5c3be
parent d8b3d5f0
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