diff options
| author | Cezary Rojewski <cezary.rojewski@intel.com> | 2021-10-15 19:12:53 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2021-10-29 18:49:41 +0300 |
| commit | 86e2d14b6d1a68941b6c0ef39502ec1433b680cb (patch) | |
| tree | 0360fd58aca325152fd2c6bb590e9c591cf48e68 /drivers/usb/cdns3/cdns3-debug.h | |
| parent | 7db53c21b1c3c25676d1125049bc92c756421cd6 (diff) | |
| download | linux-86e2d14b6d1a68941b6c0ef39502ec1433b680cb.tar.xz | |
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 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
