diff options
author | 2020-01-02 10:39:27 +0800 | |
---|---|---|
committer | 2020-01-27 16:34:34 +0200 | |
commit | b70261a288ea4d2f4ac7cd04be08a9f0f2de4f4d (patch) | |
tree | 4b890433ba96c95b071b24e02bbb45ae1f4974b7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mwifiex: Fix possible buffer overflows in mwifiex_ret_wmm_get_status() (diff) | |
download | wireguard-linux-b70261a288ea4d2f4ac7cd04be08a9f0f2de4f4d.tar.xz wireguard-linux-b70261a288ea4d2f4ac7cd04be08a9f0f2de4f4d.zip |
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 '')
0 files changed, 0 insertions, 0 deletions