Skip to content
Commit d10a87a3 authored by Lee Gibson's avatar Lee Gibson Committed by Kalle Valo
Browse files

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: default avatarLee Gibson <leegib@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210428115508.25624-1-leegib@gmail.com
parent d4f23164
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment