diff options
author | Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> | 2021-10-15 18:12:54 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-29 16:49:42 +0100 |
commit | 2e288333e9e0a14f9895321a848992b25a0e5563 (patch) | |
tree | f5ff0b0f4c1936e821b61578f2d11024fd61da79 /lib/parser.c | |
parent | 86e2d14b6d1a68941b6c0ef39502ec1433b680cb (diff) | |
download | linux-stable-2e288333e9e0a14f9895321a848992b25a0e5563.tar.gz linux-stable-2e288333e9e0a14f9895321a848992b25a0e5563.tar.bz2 linux-stable-2e288333e9e0a14f9895321a848992b25a0e5563.zip |
ASoC: topology: Check for dapm widget completeness
Add sanity checks to make sure the data is read within file boundary.
Helps in situations where file is only partially copied or malformed.
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20211015161257.27052-4-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions