diff options
author | Henry Martin <bsdhenrymartin@gmail.com> | 2025-04-02 17:14:11 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-04-07 01:18:19 +0300 |
commit | 95f723cf141b95e3b3a5b92cf2ea98a863fe7275 (patch) | |
tree | b5613854b34eda97591e22bc2de26eb5a9d14425 /tools/perf/scripts/python/intel-pt-events.py | |
parent | ef5c23ae9ab380fa756f257411024a9b4518d1b9 (diff) | |
download | linux-95f723cf141b95e3b3a5b92cf2ea98a863fe7275.tar.xz |
ASoC: Intel: avs: Fix null-ptr-deref in avs_component_probe()
devm_kasprintf() returns NULL when memory allocation fails. Currently,
avs_component_probe() does not check for this case, which results in a
NULL pointer dereference.
Fixes: 739c031110da ("ASoC: Intel: avs: Provide support for fallback topology")
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Ethan Carter Edwards <ethan@ethancedwards.com>
Signed-off-by: Henry Martin <bsdhenrymartin@gmail.com>
Link: https://patch.msgid.link/20250402141411.44972-1-bsdhenrymartin@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions