diff options
| author | Govind Singh <govinds@codeaurora.org> | 2017-02-03 11:12:30 +0530 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2017-02-07 13:48:36 -0800 |
| commit | 610a6771c0155822a0bd7e42ab2f5cdc80c65fca (patch) | |
| tree | 687d5fa043d888c4a3df591beb5ce631feee3d95 /include/linux | |
| parent | 7b7a8bbbbdf554308a874ce036380f59478a3a2c (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
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
