diff options
| author | Biswajit Paul <biswajitpaul@codeaurora.org> | 2016-06-30 19:00:50 -0700 |
|---|---|---|
| committer | Ariel Yin <ayin@google.com> | 2016-07-18 21:26:21 +0000 |
| commit | 5c932cfe347330df845b58d77afa7edab8a730e3 (patch) | |
| tree | a4a6f960df5f88dc69b6b9481875a006b1f9e396 /net/unix/af_unix.c | |
| parent | 3f95d75fa59820a951e270fef77ce258587950ee (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
