diff options
| author | Jingxiang Ge <jge@codeaurora.org> | 2018-12-27 15:43:12 +0800 |
|---|---|---|
| committer | Jingxiang Ge <jge@codeaurora.org> | 2019-01-03 16:23:04 +0800 |
| commit | 2ae89903a6f08964d84c964f73c6e87cf75de600 (patch) | |
| tree | cff4479d26ca6fbc937980665f0a856fae10d64b /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | b6666d94bc9f79f7d68d5c740456dec65a2abc05 (diff) | |
qcacld-2.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: 2344325
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
