diff options
author | Qing Xu <m1s5p6688@gmail.com> | 2020-01-02 10:39:27 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-01-27 16:34:34 +0200 |
commit | b70261a288ea4d2f4ac7cd04be08a9f0f2de4f4d (patch) | |
tree | 4b890433ba96c95b071b24e02bbb45ae1f4974b7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3a9b153c5591548612c3955c9600a98150c81875 (diff) |
mwifiex: Fix possible buffer overflows in mwifiex_cmd_append_vsie_tlv()
mwifiex_cmd_append_vsie_tlv() calls memcpy() without checking
the destination size may trigger a buffer overflower,
which a local user could use to cause denial of service
or the execution of arbitrary code.
Fix it by putting the length check before calling memcpy().
Signed-off-by: Qing Xu <m1s5p6688@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions