commit | a489843a59be65b82665ff723a0ee0995f313ad3 | [log] [tgz] |
---|---|---|
author | Ping Li <pingli@codeaurora.org> | Thu May 18 11:19:06 2017 +0800 |
committer | Jeron Susan <jeron.susan@hi-p.com> | Thu May 18 11:19:13 2017 +0800 |
tree | e1fdb74dd3534585b7e940e95c2afbb158a4e8b1 | |
parent | cfd5b274875e3b8a01680fce21b7ff1c35b859b1 [diff] |
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. Change-Id: I365938e06dbc6ca01961c9be01db10a5a9c863e4 Signed-off-by: Ping Li <pingli@codeaurora.org> FPIIM-286 Change-Id: I58ae3170cf3ff8f0c0d40b2d8d7ba9a176091bbd