diff options
author | Lee Gibson <leegib@gmail.com> | 2021-04-28 12:55:08 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-06-15 16:35:52 +0300 |
commit | d10a87a3535cce2b890897914f5d0d83df669c63 (patch) | |
tree | e376365499d897df5f275559cf78c6eccbcbd8e8 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d4f23164cff08de41abfd95ad8610b94137cdf9c (diff) | |
download | linux-d10a87a3535cce2b890897914f5d0d83df669c63.tar.gz linux-d10a87a3535cce2b890897914f5d0d83df669c63.tar.bz2 linux-d10a87a3535cce2b890897914f5d0d83df669c63.zip |
wl1251: Fix possible buffer overflow in wl1251_cmd_scan
Function wl1251_cmd_scan calls memcpy without checking the length.
Harden by checking the length is within the maximum allowed size.
Signed-off-by: Lee Gibson <leegib@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210428115508.25624-1-leegib@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions