Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mmc: sdio: Check for CISTPL_VERS_1 buffer size
[ Upstream commit 8ebe260 ] Before parsing CISTPL_VERS_1 structure check that its size is at least two bytes to prevent buffer overflow. Signed-off-by: Pali Rohár <pali@kernel.org> Link: https://lore.kernel.org/r/20200727133837.19086-2-pali@kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information