OpenCloudOS-Kernel/sound/synth/emux
Dan Carpenter 5885615e44 ALSA: emux: stop if copy_from_user() fails
If we can't fill the "patch" struct because "count" is too small (it can
be as low as 4 bytes) or because copy_from_user() failed, then just
return instead of using unintialized data.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-03-31 16:23:52 +02:00
..
Makefile ALSA: emux: Fix/cleanup old ifdef CONFIG_PROC_FS 2015-05-29 07:58:11 +02:00
emux.c ALSA: emux: Fix/cleanup old ifdef CONFIG_PROC_FS 2015-05-29 07:58:11 +02:00
emux_effect.c [ALSA] Remove xxx_t typedefs: Emu-X synth 2006-01-03 12:18:14 +01:00
emux_hwdep.c ALSA: Include linux/uaccess.h and linux/bitopts.h instead of asm/* 2015-01-28 17:25:07 +01:00
emux_nrpn.c ALSA: emux: constify nrpn_conv_table structures 2016-01-06 10:19:49 +01:00
emux_oss.c ALSA: emux: stop if copy_from_user() fails 2017-03-31 16:23:52 +02:00
emux_proc.c ALSA: emux: Fix/cleanup old ifdef CONFIG_PROC_FS 2015-05-29 07:58:11 +02:00
emux_seq.c ALSA: synth: use designated initializers 2016-12-28 16:06:16 +01:00
emux_synth.c ALSA: emux: Use setup_timer() and mod_timer() 2015-01-19 11:41:13 +01:00
emux_voice.h ALSA: emux: Fix/cleanup old ifdef CONFIG_PROC_FS 2015-05-29 07:58:11 +02:00
soundfont.c ALSA: Include linux/uaccess.h and linux/bitopts.h instead of asm/* 2015-01-28 17:25:07 +01:00