aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorChao Song <[email protected]>2023-08-16 16:33:11 +0300
committerMark Brown <[email protected]>2023-08-16 14:47:01 +0100
commit2d218b45848b92b03b220bf4d9bef29f058f866f (patch)
tree1e3d6e87c3d6e18f5c8fe5bd83096d4145e82da2 /lib/mpi/mpi-bit.c
parent0fc7769e54e747c8fd1b4899af2ac43cb68daa1c (diff)
ASoC: SOF: ipc4-pcm: fix possible null pointer deference
The call to snd_sof_find_spcm_dai() could return NULL, add nullable check for the return value to avoid null pointer defenrece. Fixes: 7cb19007baba ("ASoC: SOF: ipc4-pcm: add hw_params") Signed-off-by: Chao Song <[email protected]> Reviewed-by: Bard Liao <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Peter Ujfalusi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions