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

Commit 02947a00 authored by Harsh Sahu's avatar Harsh Sahu Committed by Rajkumar Subbiah
Browse files

msm: mdss: Handling possible integer overflow



fudge_factor calculation can suffer from integer overflow as numer and
denom are user controlled. Hence this change will first check for the
overflow and return immediately.

CRs-Fixed: 1110860
Change-Id: I3fab3edd4515d7a4c67f29d68b2039f234b03612
Signed-off-by: default avatarHarsh Sahu <hsahu@codeaurora.org>
parent 58319123
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