diff options
| author | 2021-10-15 14:54:30 +0100 | |
|---|---|---|
| committer | 2021-10-20 19:06:27 +0100 | |
| commit | bbbd88da9df06775cff60c7809239f17071c7e66 (patch) | |
| tree | 1837b1da469a9601615face2d222de13ed9543ce /libs/gui/DisplayEventDispatcher.cpp | |
| parent | d8b3d5f05695af40955c2d3e1d40c51db437f977 (diff) | |
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
Diffstat (limited to 'libs/gui/DisplayEventDispatcher.cpp')
0 files changed, 0 insertions, 0 deletions