summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-09-03 12:38:51 +0200
committerTakashi Iwai <tiwai@suse.de>2026-09-03 18:08:24 +0200
commit3b26ceef88c110f4d188387cffa0df78657be904 (patch)
tree215598b09b74c0b3b90e5ee761a775f799432057 /scripts
parent8efd5f623c63584c2e284a837a7795d95a0491cb (diff)
downloadlinux-3b26ceef88c110f4d188387cffa0df78657be904.tar.gz
linux-3b26ceef88c110f4d188387cffa0df78657be904.zip
ALSA: caiaq: Fix potential double-free at error path
The fix for caiaq driver's resource management to handle the errors tries to release the resources in a common destructor call, but as a sashiko review for another patch suggested, some of the audio resources such as URBs have been already freed, and this may lead to a double-free. For addressing the double-free, call the common destructor function from each place, and assure that the resource pointers get cleared. Link: https://sashiko.dev/#/patchset/20260903084747.535367-1-eadavis%40sina.com Fixes: 28abd224db4a ("ALSA: caiaq: Handle probe errors properly") Link: https://patch.msgid.link/20260903103855.1807838-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions