linux/sound/pci/au88x0
Takashi Iwai 639db59616 ALSA: au88x0: Fix zero clear of stream->resources
There are a few calls of memset() to stream->resources, but they all
are called in a wrong size, sizeof(unsigned char) * VORTEX_RESOURCE_LAST,
while this field is a u32 array.  This may leave the memories not
zero-cleared.

Fix it by replacing them with a simpler sizeof(stream->resources)
instead.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-05-12 18:04:16 +02:00
..
au88x0_a3d.c
au88x0_a3d.h
au88x0_a3ddata.c
au88x0_core.c
au88x0_eq.c
au88x0_eq.h
au88x0_eqdata.c
au88x0_game.c
au88x0_mixer.c
au88x0_mpu401.c
au88x0_pcm.c
au88x0_synth.c
au88x0_wt.h
au88x0_xtalk.c
au88x0_xtalk.h
au88x0.c
au88x0.h
au8810.c
au8810.h
au8820.c
au8820.h
au8830.c
au8830.h
Makefile