summaryrefslogtreecommitdiff
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorShalini Krishnamoorthi <shakri@codeaurora.org>2016-08-02 10:29:00 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-26 18:33:17 -0700
commit62e764006d48225ba2a0a8015ba7085c0e8dab12 (patch)
tree70ef4d760ad76851977bfe44e2973bebbfe23a1e /drivers/devfreq
parente97b6a0e0217f7c072fdad6c50673cd7a64348e1 (diff)
msm: mdss: Fix to validate data copied from user space
The overlay zorder values copied from user space are used as index in left_lm_zo_cnt and right_lm_zo_cnt. This fix will validate the overlay zorder value copied from user space to not go beyond MDSS_MDP_MAX_STAGE, thus preventing any arbitrary increments in kernel memory. CRs-Fixed: 1049232 Change-Id: Ie8e65ce9f58cb357204bfa4c6a6e0fccec82d5ba Signed-off-by: Shalini Krishnamoorthi <shakri@codeaurora.org>
Diffstat (limited to 'drivers/devfreq')
0 files changed, 0 insertions, 0 deletions