]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-pcm: Add NULL check in BE reparenting
authorSrinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Tue, 22 Nov 2022 06:31:13 +0000 (12:01 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 22 Nov 2022 12:23:00 +0000 (12:23 +0000)
commitdb8f91d424fe0ea6db337aca8bc05908bbce1498
tree8a4a1fa0fed7bb7a819208d6a82a969f04fa1261
parentf5f8ad3fcdc49e4d794973007525ed864f93f3fb
ASoC: soc-pcm: Add NULL check in BE reparenting

Add NULL check in dpcm_be_reparent API, to handle
kernel NULL pointer dereference error.
The issue occurred in fuzzing test.

Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Link: https://lore.kernel.org/r/1669098673-29703-1-git-send-email-quic_srivasam@quicinc.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-pcm.c