commit | 86e2d14b6d1a68941b6c0ef39502ec1433b680cb | [log] [tgz] |
---|---|---|
author | Cezary Rojewski <cezary.rojewski@intel.com> | Fri Oct 15 18:12:53 2021 +0200 |
committer | Mark Brown <broonie@kernel.org> | Fri Oct 29 16:49:41 2021 +0100 |
tree | 0360fd58aca325152fd2c6bb590e9c591cf48e68 | |
parent | 7db53c21b1c3c25676d1125049bc92c756421cd6 [diff] |
ASoC: topology: Add header payload_size verification Add sanity check to make sure the data is read within file boundary. Helps in situations where file is only partially copied or malformed. Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://lore.kernel.org/r/20211015161257.27052-3-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>