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

Skip to content
Commit 746f5399 authored by Steve Pfetsch's avatar Steve Pfetsch Committed by Gerrit - the friendly Code Review server
Browse files

drivers: video: Add bounds checking in fb_cmap_to_user

Verify that unsigned int value will not become negative before cast to
signed int..

Bug: 31651010
Change-Id: I548a200f678762042617f11100b6966a405a3920
Git-commit:834c0fa0f4ec6a0ae75b8ce718e51cece90dc9cd
Git-repo: https://android.googlesource.com/kernel/msm


Signed-off-by: default avatarYogendra Charya Tangalapally <yogendra@codeaurora.org>
parent 84eac1b8
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