commit | 8ebe2607965d3e2dc02029e8c7dd35fbe508ffd0 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Mon Jul 27 15:38:34 2020 +0200 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Sep 07 09:11:28 2020 +0200 |
tree | fc7fb139d344cbf1daf86c434f38b2179d23688d | |
parent | 0ac4f496a2d46d5fe320d7034c792df4a5907c46 [diff] |
mmc: sdio: Check for CISTPL_VERS_1 buffer size 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>