diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2025-01-09 13:22:06 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-01-09 12:14:18 +0000 |
commit | cf4d74256fe103ece7b2647550e6c063048e5682 (patch) | |
tree | 09ce273332ab2332d2dac31422866988bf6e49b9 /scripts/lib/kdoc/kdoc_parser.py | |
parent | dbda5c35b88794f6e5efe1b5b20044b0b3a340d4 (diff) |
ASoC: Intel: avs: Fix theoretical infinite loop
While 'stack_dump_size' is a u32 bitfield of 16 bits, u32 has a bigger
upper bound than the type u16 of loop counter 'offset' what in theory
may lead to infinite loop condition.
Found out by Coverity static analyzer.
Fixes: c8c960c10971 ("ASoC: Intel: avs: APL-based platforms support")
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20250109122216.3667847-4-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions