summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLee Gibson <leegib@gmail.com>2021-04-28 12:55:08 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-20 16:16:01 +0200
commit115103f6e3f1c26c473766c16439c7c8b235529a (patch)
tree27d33e93448c5a8441bdf1b878b69855b4a9a49b /include/linux
parent5ad41656f8e27c1547bbb7cb9230eef8a80ba2aa (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 'include/linux')
0 files changed, 0 insertions, 0 deletions