commit | cc17875bde659c1224262f201742e257196fd77c | [log] [tgz] |
---|---|---|
author | Mayank Rana <mrana@codeaurora.org> | Wed Jun 14 13:38:57 2017 -0700 |
committer | Mayank Rana <mrana@codeaurora.org> | Wed Jun 14 14:44:04 2017 -0700 |
tree | 75e80ab81a93b2f613a5cfd4520829e60c280736 | |
parent | 9f28bf89e26ef311d55071d76e30cb0661f50610 [diff] |
f_gsi: Use kernel buffer instead of user space provided buffer gsi_ctrl_dev_write() and gsi_ctrl_dev_read() API is directly using user space provided buffer when qti_packet_debug is enabled. This can result into using untrusted buffer pointer. Hence use cpkt->buf i.e. kernel space buffer pointer instead of directly using user space provided buffer. CRs-Fixed: 2061391 Change-Id: Iba6f2845dae2755446b4b8e9f3041686877d7bc4 Signed-off-by: Mayank Rana <mrana@codeaurora.org>