diff options
author | 2025-05-30 16:10:23 +0200 | |
---|---|---|
committer | 2025-06-02 12:26:50 +0100 | |
commit | 93e246b6769bdacb09cfff4ea0f00fe5ab4f0d7a (patch) | |
tree | 83f778c05099a56b252c364cc62b1cf3d897d623 /scripts/lib/kdoc/kdoc_files.py | |
parent | ASoC: Intel: avs: Verify kcalloc() status when setting constraints (diff) | |
download | linux-rng-93e246b6769bdacb09cfff4ea0f00fe5ab4f0d7a.tar.xz linux-rng-93e246b6769bdacb09cfff4ea0f00fe5ab4f0d7a.zip |
ASoC: Intel: avs: Verify content returned by parse_int_array()
The first element of the returned array stores its length. If it is 0,
any manipulation beyond the element at index 0 ends with null-ptr-deref.
Fixes: 5a565ba23abe ("ASoC: Intel: avs: Probing and firmware tracing over debugfs")
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20250530141025.2942936-8-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions