linux/sound/isa
Junrui Luo 3139828f6b ALSA: wavefront: Clear substream pointers on close
[ Upstream commit e11c5c13ce ]

Clear substream pointers in close functions to avoid leaving dangling
pointers, helping to improve code safety and
prevents potential issues.

Reported-by: Yuhao Jiang <danisjiang@gmail.com>
Reported-by: Junrui Luo <moonafterrain@outlook.com>
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Cc: stable@vger.kernel.org
Signed-off-by: Junrui Luo <moonafterrain@outlook.com>
Link: https://patch.msgid.link/SYBPR01MB7881DF762CAB45EE42F6D812AFC2A@SYBPR01MB7881.ausprd01.prod.outlook.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2026-01-08 10:14:26 +01:00
..
ad1816a ALSA: ad1816a: Fix potential NULL pointer deref in snd_card_ad1816a_pnp() 2025-07-17 18:37:09 +02:00
ad1848 ALSA: isa: Use *-y instead of *-objs in Makefile 2024-05-08 18:17:48 +02:00
cs423x ALSA: cs4236: Use standard print API 2024-08-08 07:47:24 +02:00
es1688 ALSA: es1688: Use standard print API 2024-08-08 07:47:24 +02:00
galaxy ALSA: isa: Use *-y instead of *-objs in Makefile 2024-05-08 18:17:48 +02:00
gus ALSA: gus: Fix some error handling paths related to get_bpos() usage 2024-10-04 09:02:30 +02:00
msnd ALSA: msnd: Use standard print API 2024-08-08 07:49:41 +02:00
opti9xx ALSA: opti9xx: Use standard print API 2024-08-08 07:49:45 +02:00
sb ALSA: sb: Force to disable DMAs once when DMA mode is changed 2025-07-10 16:05:06 +02:00
wavefront ALSA: wavefront: Clear substream pointers on close 2026-01-08 10:14:26 +01:00
wss ALSA: wss: Use standard print API 2024-08-08 07:49:46 +02:00
adlib.c ALSA: adlib: Allocate resources with device-managed APIs 2021-07-19 16:17:16 +02:00
als100.c ALSA: als100: Use standard print API 2024-08-08 07:47:24 +02:00
azt2320.c ALSA: azt2320: Use standard print API 2024-08-08 07:47:24 +02:00
cmi8328.c ALSA: cmi8328: Use standard print API 2024-08-08 07:47:24 +02:00
cmi8330.c ALSA: cmi8330: Use standard print API 2024-08-08 07:47:24 +02:00
es18xx.c ALSA: es18xx: Use standard print API 2024-08-08 07:47:24 +02:00
Kconfig ALSA: add HAS_IOPORT dependencies 2023-05-22 16:43:47 +02:00
Makefile ALSA: isa: Use *-y instead of *-objs in Makefile 2024-05-08 18:17:48 +02:00
opl3sa2.c ALSA: opl3sa2: Use standard print API 2024-08-08 07:49:45 +02:00
sc6000.c ALSA: sc6000: Use standard print API 2024-08-08 07:49:46 +02:00
sscape.c ALSA: sscape: Use standard print API 2024-08-08 07:49:46 +02:00