linux/sound
Takashi Iwai 3a55437141 ALSA: proc: Avoid possible leaks of snd_info_entry objects
This patch changes the parent pointer assignment of snd_info_entry
object to be always non-NULL.  More specifically,check the parent
argument in snd_info_create_module_entry() & co, and assign
snd_proc_root if NULL is passed there.

This assures that the proc object is always freed when the root is
freed, so avoid possible memory leaks.  For example, some error paths
(e.g. snd_info_register() error at snd_minor_info_init()) may leave
snd_info_entry object although the proc file itself is freed.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-01-24 14:40:26 +01:00
..
ac97 ALSA: ac97: fix unbalanced pm_runtime_enable 2018-08-19 18:37:04 +02:00
aoa ALSA: aoa: Remove superfluous snd_pcm_suspend*() calls 2019-01-15 17:47:51 +01:00
arm ALSA: arm: Remove superfluous snd_pcm_suspend*() calls 2019-01-15 17:47:58 +01:00
atmel
core ALSA: proc: Avoid possible leaks of snd_info_entry objects 2019-01-24 14:40:26 +01:00
drivers ALSA: drivers: Remove superfluous snd_pcm_suspend*() calls 2019-01-15 17:47:06 +01:00
firewire ALSA: fireface: comment cleanup about destination address of async transactions for MIDI messages 2019-01-24 14:39:32 +01:00
hda ALSA: hda: program stripe bits for controller 2019-01-14 19:52:28 +01:00
i2c ALSA: i2c/cs8427: Fix int to char conversion 2018-10-18 15:44:08 +02:00
isa Merge branch 'topic/pcm-device-suspend' into for-next 2019-01-18 17:37:21 +01:00
mips ALSA: mips: Cleanup indirect PCM helper usages 2018-09-04 12:13:46 +02:00
oss treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
parisc
pci ALSA: hda/tegra: add driver flag for runtime PM 2019-01-22 09:21:56 +01:00
pcmcia ALSA: pcmcia: Remove superfluous snd_pcm_suspend*() calls 2019-01-15 17:48:04 +01:00
ppc ALSA: ppc: Remove superfluous snd_pcm_suspend*() calls 2019-01-15 17:47:45 +01:00
sh
soc ALSA: pcm: Suspend streams globally via device type PM ops 2019-01-15 17:46:36 +01:00
sparc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next 2018-12-26 10:32:18 -08:00
spi
synth ALSA: emux: Fix potential Spectre v1 vulnerabilities 2018-12-13 09:13:04 +01:00
usb Merge branch 'topic/pcm-device-suspend' into for-next 2019-01-18 17:37:21 +01:00
x86 ALSA: x86: Remove superfluous snd_pcm_suspend*() calls 2019-01-15 17:47:39 +01:00
xen ALSA: xen-front: Use Xen common shared buffer implementation 2018-12-18 12:19:37 -05:00
ac97_bus.c
Kconfig ALSA: xen-front: Introduce Xen para-virtualized sound frontend driver 2018-05-16 12:58:36 +02:00
last.c
Makefile ALSA: xen-front: Introduce Xen para-virtualized sound frontend driver 2018-05-16 12:58:36 +02:00
sound_core.c sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00