diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2021-10-15 18:12:53 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-29 16:49:41 +0100 |
commit | 86e2d14b6d1a68941b6c0ef39502ec1433b680cb (patch) | |
tree | 0360fd58aca325152fd2c6bb590e9c591cf48e68 /sound/soc/stm | |
parent | 7db53c21b1c3c25676d1125049bc92c756421cd6 (diff) | |
download | linux-86e2d14b6d1a68941b6c0ef39502ec1433b680cb.tar.bz2 |
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>
Diffstat (limited to 'sound/soc/stm')
0 files changed, 0 insertions, 0 deletions