commit | 23a1564da5ca39b33f3ffd3acda70fd7833a04b3 | [log] [tgz] |
---|---|---|
author | Govind Singh <govinds@codeaurora.org> | Fri Feb 03 11:12:30 2017 +0530 |
committer | qcabuildsw <qcabuildsw@localhost> | Tue Feb 07 09:56:35 2017 -0800 |
tree | 80791a7bf8a8d64f639541ae6a92b351f5844818 | |
parent | cb65cfc3544f52d121ec71c6145caa28a3a5c1c5 [diff] |
qcacmn: Do not copy buffer to user-space if diag read fails ATH diag procfs read is copying read_buffer to user space unconditionally, causing kernel heap information leak of uninitialized read_buffer if hif diag read fails. Do not copy buffer to user space if diag read fails to avoid information leak to user space. Change-Id: I5e07cad4f90e5e9b3c461268b8fa3635c3128b9f CRs-Fixed: 1104731