summaryrefslogtreecommitdiff
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorAnilKumar Chimata <anilc@codeaurora.org>2017-03-13 16:13:47 +0530
committerAnilKumar Chimata <anilc@codeaurora.org>2017-04-08 03:54:02 +0530
commit17b7ffbc1377264a007380fa161babbc66a86d31 (patch)
tree2e7cc6fa46bd9555e9b71e2588341caad16b9ad3 /kernel/sysctl_binary.c
parent1da237c93bbfac333ba49398c5c85393829b5474 (diff)
crypto: msm: Fix buffer overflow issue
In multi-threaded environment diglen variable could be modified by multiple threads at the same time. Buffer overflow might happen in current thread if another thread changes the diglen variable. So add mutex locks to avoid this issue. Change-Id: I62c63c55c028dedb1dd0eec862851bd8e818a5d3 Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions