On Friday 24 April 2020 12:42:35 CEST Dan Carpenter wrote:
>
> We need to cap "ssidlen" to prevent a memcpy() overflow.
>
> Fixes: 40115bbc40e2 ("staging: wfx: implement the rest of mac80211 API")
> Signed-off-by: Dan Carpenter
> ---
> drivers/staging/wfx/sta.c | 4 +++-
> 1 file changed, 3 ins
We need to cap "ssidlen" to prevent a memcpy() overflow.
Fixes: 40115bbc40e2 ("staging: wfx: implement the rest of mac80211 API")
Signed-off-by: Dan Carpenter
---
drivers/staging/wfx/sta.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/wfx/sta.c b/drivers/