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

Skip to content
Commit db7fbb4a authored by Anirudh Ghayal's avatar Anirudh Ghayal Committed by Gerrit - the friendly Code Review server
Browse files

power: qpnp-qg: Add range checks to FIFO length



In some erroneous cases there could be back-to-back
calls to process the accumulator data which may lead
to a array overflow. Fix this by adding range check
while populating the FIFO data.

Change-Id: I3f2495649153ae16040579b71dff5b78315b29a9
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent ae5a9a6d
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