diff options
author | Henry Martin <bsdhenrymartin@gmail.com> | 2025-04-02 22:14:11 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-04-06 23:18:19 +0100 |
commit | 95f723cf141b95e3b3a5b92cf2ea98a863fe7275 (patch) | |
tree | b5613854b34eda97591e22bc2de26eb5a9d14425 /scripts/gen_compile_commands.py | |
parent | ef5c23ae9ab380fa756f257411024a9b4518d1b9 (diff) |
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 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions