summaryrefslogtreecommitdiff
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorHenry Martin <bsdhenrymartin@gmail.com>2025-04-01 17:25:10 +0300
committerMark Brown <broonie@kernel.org>2025-04-01 19:01:10 +0300
commit93d34608fd162f725172e780b1c60cc93a920719 (patch)
treeec2a06b90e4bf39ee17d9b2648924a352e6deeb6 /lib/timerqueue.c
parentcc80b44b69fde7806f01739e47b965a149c13492 (diff)
downloadlinux-93d34608fd162f725172e780b1c60cc93a920719.tar.xz
ASoC: imx-card: Add NULL check in imx_card_probe()
devm_kasprintf() returns NULL when memory allocation fails. Currently, imx_card_probe() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_kasprintf() to prevent this issue. Fixes: aa736700f42f ("ASoC: imx-card: Add imx-card machine driver") Signed-off-by: Henry Martin <bsdhenrymartin@gmail.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20250401142510.29900-1-bsdhenrymartin@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions