diff options
| author | Pali Rohár <pali@kernel.org> | 2020-07-27 15:38:34 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-29 09:03:08 +0100 |
| commit | d14221529f06cd426f059043de8bd709bd106daf (patch) | |
| tree | c70f5033b8069b7f86f9695f7277667ca1cf4f0b /tools/perf/scripts/python/compaction-times.py | |
| parent | 56434ec03f8f892f9f7d71946c7503674d03fc8b (diff) | |
mmc: sdio: Check for CISTPL_VERS_1 buffer size
[ Upstream commit 8ebe2607965d3e2dc02029e8c7dd35fbe508ffd0 ]
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>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
