Skip to content
Snippets Groups Projects
Commit a1eae780 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: I32ccccce3179346fd261ffc5b3a379230e7b413f
parent f96b4098
No related branches found
No related tags found
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