summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorDenis Arefev <arefev@swemel.ru>2025-12-02 13:13:36 +0300
committerTakashi Iwai <tiwai@suse.de>2025-12-05 15:13:13 +0100
commitc34b04cc6178f33c08331568c7fd25c5b9a39f66 (patch)
tree7fccab3512c8863e0aebded18e0be19fb310e26d /tools/lib/python/kdoc/kdoc_re.py
parenteaf526cfa4e537af86543d77f402b9ae803f606e (diff)
ALSA: hda: cs35l41: Fix NULL pointer dereference in cs35l41_hda_read_acpi()
The acpi_get_first_physical_node() function can return NULL, in which case the get_device() function also returns NULL, but this value is then dereferenced without checking,so add a check to prevent a crash. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 7b2f3eb492da ("ALSA: hda: cs35l41: Add support for CS35L41 in HDA systems") Cc: stable@vger.kernel.org Signed-off-by: Denis Arefev <arefev@swemel.ru> Reviewed-by: Richard Fitzgerald <rf@opensource.cirrus.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20251202101338.11437-1-arefev@swemel.ru
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions