diff options
| author | Henry Martin <[email protected]> | 2025-04-02 14:14:11 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-04-06 22:18:19 +0000 |
| commit | 95f723cf141b95e3b3a5b92cf2ea98a863fe7275 (patch) | |
| tree | b5613854b34eda97591e22bc2de26eb5a9d14425 /drivers/fpga/tests/fpga-region-test.c | |
| parent | ASoC: fsl_asrc_dma: get codec or cpu dai from backend (diff) | |
| download | kernel-95f723cf141b95e3b3a5b92cf2ea98a863fe7275.tar.gz kernel-95f723cf141b95e3b3a5b92cf2ea98a863fe7275.zip | |
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 <[email protected]>
Reviewed-by: Ethan Carter Edwards <[email protected]>
Signed-off-by: Henry Martin <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-region-test.c')
0 files changed, 0 insertions, 0 deletions
