diff options
| author | Lee Gibson <leegib@gmail.com> | 2021-04-28 12:55:08 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:22:38 +0200 |
| commit | 57ad99ae3c6738ba87bad259bb57c641ca68ebf6 (patch) | |
| tree | 4132719d3261cdda23d2490b4584b2e9c540ae37 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | beda26eff2d8a1cb9581ac3340d006f8df510087 (diff) | |
wl1251: Fix possible buffer overflow in wl1251_cmd_scan
[ Upstream commit d10a87a3535cce2b890897914f5d0d83df669c63 ]
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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
