Skip to content
Snippets Groups Projects
Commit cdedf5d9 authored by Adrian Salido-Moreno's avatar Adrian Salido-Moreno Committed by Yuan Lin
Browse files

msm: mdss: fix possible out-of-bounds and overflow issue in mdp debugfs

There are few cases where the count argument passed by the user
space is not validated, which can potentially lead to out of bounds
or overflow issues. In some cases, kernel might copy more data than
what is requested. Add necessary checks to avoid such cases.

BUG=27407629
BUG=27407865

Change-Id: Ief031297961b812163cdfaf5146615b3ee67de46
parent 98abe0e5
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment