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

Commit d62ac6e4 authored by Ingrid Gallardo's avatar Ingrid Gallardo
Browse files

fbdev: use unsigned integers to prevent overflow



Use unsigned integers to make sure there is
no data overflow. Also modify the size
check for zero in order to make sure this
code is not optimized by the compiler.

CRs-Fixed: 1071271
Change-Id: I35d8cbbd5914f82bef80c8f3d874fedb0b7c74c0
Signed-off-by: default avatarIngrid Gallardo <ingridg@codeaurora.org>
parent 626caf4e
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