aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorThorsten Blum <[email protected]>2025-06-10 10:32:16 +0000
committerMark Brown <[email protected]>2025-06-10 11:46:16 +0000
commit6325766d69900d1aa9733fc7572456fc4427b708 (patch)
tree10052b08c0fd02a261d6c281f3c0cf8c1379f26c /lib/crypto/mpi/mpi-sub-ui.c
parentASoC: loongson: Fix build warnings about export.h (diff)
downloadkernel-6325766d69900d1aa9733fc7572456fc4427b708.tar.gz
kernel-6325766d69900d1aa9733fc7572456fc4427b708.zip
ASoC: sdw_utils: Fix potential NULL pointer deref in is_sdca_endpoint_present()
Check the return value of kzalloc() and exit early to avoid a potential NULL pointer dereference. Cc: [email protected] Fixes: 4f8ef33dd44a ("ASoC: soc_sdw_utils: skip the endpoint that doesn't present") Signed-off-by: Thorsten Blum <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions