diff options
| author | Jingxiang Ge <jge@codeaurora.org> | 2019-01-23 17:15:53 +0800 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2019-01-27 17:56:12 -0800 |
| commit | b49a3191eff6ba698eac1a0c13b3a3d6ed94ea3d (patch) | |
| tree | 1c844f5a647100517ffe05832be7e359503aac96 /tools/perf/scripts/python | |
| parent | f771e500ca349286e4d1eb9eb28b92f51f383313 (diff) | |
qcacld-3.0: Fix buffer overwrite problem in GETIBSSPEERINFO
If (length + 1) is greater than priv_data.total_len then copy_to_user
results in writing more data than the buffer can hold.
Fix this by writing mininum of (length + 1) and priv_data->total_len.
Change-Id: If0c74b3c6c76ee3ca296fd8e0e844b9c53c30498
CRs-Fixed: 2386056
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
