diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-06-10 12:32:16 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-06-10 12:46:16 +0100 |
| commit | 6325766d69900d1aa9733fc7572456fc4427b708 (patch) | |
| tree | 10052b08c0fd02a261d6c281f3c0cf8c1379f26c /scripts/gdb/linux/mm.py | |
| parent | a4e469c1e2e0ec7f08fff9ed29f5500f187ba9f2 (diff) | |
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: stable@vger.kernel.org
Fixes: 4f8ef33dd44a ("ASoC: soc_sdw_utils: skip the endpoint that doesn't present")
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250610103225.1475-2-thorsten.blum@linux.dev
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions
