summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorHarsh Sahu <hsahu@codeaurora.org>2017-02-16 19:52:02 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-02-17 15:34:19 -0800
commit3ce6c47d2142fcd2c4c1181afe08630aaae5a267 (patch)
treeeb28414998f43c5102eef2a56c62ff7755aac849 /net/unix/af_unix.c
parent7066afbbe98876327824a305c9d0737114136baa (diff)
msm : mdss: Avoid arbitrary free of scale_data in error condition
In mdss_fb_copy_destscaler_data function when the code enters error section it may free up some arbitrary kernel address. This may generate security vulnerability. Hence fixed the loop condition in err: to real count of allocated buffer to avoid this arbitrary free. Change-Id: I4014a3bf9cb0f5da994fa5c0233b7940009be0cd Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions