summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorSarada Prasanna Garnayak <sgarna@codeaurora.org>2017-06-08 15:34:13 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-06-22 00:35:59 -0700
commit470cbd2aeabd076d7278d25b15e130767e67dc44 (patch)
treee2b3db4c32b61817095b9f491a5005b6d7431db0 /net/unix/af_unix.c
parent560a996da5c0bf398d2fba51e9909cd7323afea8 (diff)
icnss: fix the memory and kernel info leak due to the race condition
The icnss register read/write debugfs entry can be accessed by multiple user space thread. Memory allocation and deallocation in the register read/write file operation leads to potential memory leak during concurrency access of debugfs device file. Add protection to avoid the memory leak and kernel information leak due to the race condition in the register read/write ops. CRs-Fixed: 2012572 Change-Id: I22c6af9a396c0df4e68f75702fc68a5dff5af032 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions