Unverified Commit be585f7e authored by Charles Han's avatar Charles Han Committed by Mark Brown
Browse files

ASoC: codecs: fs210x: Add NULL check in fs210x_register_snd_component



Add check for the return value of devm_kmemdup() to prevent
potential null pointer dereference.

Fixes: 75611770 ("ASoC: codecs: Add FourSemi FS2104/5S audio amplifier driver")
Signed-off-by: default avatarCharles Han <hanchunchao@inspur.com>
Message-ID: <20250905091845.1559-1-hanchunchao@inspur.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 554f6006
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment