Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wl1251: Fix possible buffer overflow in wl1251_cmd_scan
[ Upstream commit d10a87a ] 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>
- Loading branch information