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

Skip to content
Commit 78049126 authored by Ruchi Kandoi's avatar Ruchi Kandoi Committed by Dyneteve
Browse files

uid_cputime: Check for the range while removing range of UIDs.

Checking if the uid_entry->uid matches the uid intended to be removed will
prevent deleting unwanted uid_entry.
Type cast the key for the hashtable to the same size, as when they were
inserted. This will make sure that we can find the uid_entry we want.

Bug: 25195548
Change-Id: Ib3c0be6d3994bd90bd3ab5b89a9e05afdc98f870
Signed-off: Ruchi kandoi <kandoiruchi@google.com>
parent c8ce5902
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