linux/sound/pci/lx6464es
Takashi Iwai a19c921fca ALSA: lx646es: Fix possible uninitialized variable reference
lx_pipe_state() checks the return value from lx_message_send_atomic()
and breaks the loop only when it's a negative value.  However,
lx_message_send_atomic() may return a positive error code (as the
return code from the hardware), and then lx_pipe_state() tries to
compare the uninitialized current_state variable.

Fix this behavior by checking the positive non-zero error code as
well.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-04-15 15:28:52 +02:00
..
lx6464es.c ALSA: lx6464es: Use snd_pcm_hw_constraint_single() 2015-10-21 14:24:28 +02:00
lx6464es.h ALSA: lx6464es: Use nonatomic PCM ops 2014-09-15 15:52:10 +02:00
lx_core.c ALSA: lx646es: Fix possible uninitialized variable reference 2016-04-15 15:28:52 +02:00
lx_core.h ALSA: lx6464es: Use nonatomic PCM ops 2014-09-15 15:52:10 +02:00
lx_defs.h ALSA: Fix invalid kerneldoc markers 2014-11-11 09:39:17 +01:00
Makefile ALSA: lx6464es - driver for the digigram lx6464es interface 2009-04-14 12:01:46 +02:00