diff options
author | Qing Xu <m1s5p6688@gmail.com> | 2020-01-02 03:39:27 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-01-27 15:34:34 +0100 |
commit | b70261a288ea4d2f4ac7cd04be08a9f0f2de4f4d (patch) | |
tree | 4b890433ba96c95b071b24e02bbb45ae1f4974b7 /fs/binfmt_em86.c | |
parent | mwifiex: Fix possible buffer overflows in mwifiex_ret_wmm_get_status() (diff) | |
download | linux-b70261a288ea4d2f4ac7cd04be08a9f0f2de4f4d.tar.xz 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 'fs/binfmt_em86.c')
0 files changed, 0 insertions, 0 deletions