aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBiswajit Paul <biswajitpaul@codeaurora.org>2016-06-30 19:00:50 -0700
committerAriel Yin <ayin@google.com>2016-07-18 21:26:21 +0000
commit5c932cfe347330df845b58d77afa7edab8a730e3 (patch)
treea4a6f960df5f88dc69b6b9481875a006b1f9e396 /net/unix/af_unix.c
parent3f95d75fa59820a951e270fef77ce258587950ee (diff)
input: synaptics_dsx: allocate heap memory for temp buf
rmidev file operations structure include write() and read() which accepts data from user space. Temp buffers are allocated through variable length arrays which can pose security problems. So allocate memory on heap instead of stack to avoid this. CRs-Fixed: 1032459 Change-Id: I44443f91d435715dd0097ef8e8dfc48e291f93fc Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org> Signed-off-by: Biswajit Paul <biswajitpaul@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions