[ 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> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| acx.c | ||
| acx.h | ||
| boot.c | ||
| boot.h | ||
| cmd.c | ||
| cmd.h | ||
| debugfs.c | ||
| debugfs.h | ||
| event.c | ||
| event.h | ||
| init.c | ||
| init.h | ||
| io.c | ||
| io.h | ||
| main.c | ||
| ps.c | ||
| ps.h | ||
| reg.h | ||
| rx.c | ||
| rx.h | ||
| sdio.c | ||
| spi.c | ||
| spi.h | ||
| tx.c | ||
| tx.h | ||
| wl12xx_80211.h | ||
| wl1251.h | ||