Skip to content
Snippets Groups Projects
Commit 78f8a3fe authored by Ping Li's avatar Ping Li Committed by SecurityBot
Browse files

BACKPORT: msm: mdss: Add sanity check for Gamut LUT size


The Gamut LUT size passed from user space needs to go through
a sanity check to avoid heap overflow. This patch adds the missing
sanity check in the Gamut LUT config write path.

Bug: 36251375
Change-Id: I365938e06dbc6ca01961c9be01db10a5a9c863e4
Signed-off-by: default avatarPing Li <pingli@codeaurora.org>
Signed-off-by: default avatarNick Desaulniers <ndesaulniers@google.com>
(cherry picked from commit cf3c97b8)
parent 7a326d97
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment