commit | b9805a3d01679e4f7364ce6b1b2f3bd68f807b34 | [log] [tgz] |
---|---|---|
author | AnilKumar Chimata <anilc@codeaurora.org> | Mon Mar 13 16:13:47 2017 +0530 |
committer | Dinesh K Garg <dineshg@codeaurora.org> | Thu Aug 03 17:13:52 2017 -0700 |
tree | 61c94d6ace868abdc8bed5f563eb73ccadb86bcb | |
parent | d98d9ee864a3982fd03c1ed56688b7d57fc4dcf2 [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>