diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-05-29 14:52:19 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-05-30 14:22:10 +0300 |
commit | 13ec7f10b87f5fc04c4ccbd491c94c7980236a74 (patch) | |
tree | 051fc20093146cd57bbaa8d8e224f08111443a8e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6aca09771db4277a78853d6ac680d8d5f0d915e3 (diff) |
mwifiex: Fix possible buffer overflows at parsing bss descriptor
mwifiex_update_bss_desc_with_ie() calls memcpy() unconditionally in
a couple places without checking the destination size. Since the
source is given from user-space, this may trigger a heap buffer
overflow.
Fix it by putting the length check before performing memcpy().
This fix addresses CVE-2019-3846.
Reported-by: huangwen <huangwen@venustech.com.cn>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions