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

Skip to content
Commit c26a5092 authored by Stephen Crane's avatar Stephen Crane
Browse files

Fix out-of-bounds write past end of buckets on long transactions

For some values of max_time_bucket, (max_time_bucket-1) /
time_per_bucket will end up being num_buckets, which is one element past
the end of the buckets array.

Test: adb shell binderThroughputTest -- -m 500

Change-Id: Ie3933df6e563854b375604368c06dbd33697250a
parent e5c824b2
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