summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/cs-trace-disasm.py
diff options
context:
space:
mode:
authorJingxiang Ge <jge@codeaurora.org>2018-12-27 15:43:12 +0800
committerJingxiang Ge <jge@codeaurora.org>2019-01-03 16:23:04 +0800
commit2ae89903a6f08964d84c964f73c6e87cf75de600 (patch)
treecff4479d26ca6fbc937980665f0a856fae10d64b /tools/perf/scripts/python/cs-trace-disasm.py
parentb6666d94bc9f79f7d68d5c740456dec65a2abc05 (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/cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions