OpenCloudOS-Kernel/sound/synth/emux
Dan Carpenter 2854cd34fb ALSA: synth: emux: soundfont.c: divide by zero in calc_gus_envelope_time()
This function is called from load_guspatch() and the rate is specified
by the user.  If they accidentally selected zero then it would crash the
kernel.  I've just changed the zero to a one.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-05-06 15:08:08 +02:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
emux.c ALSA: synth: Remove empty init and exit 2018-08-03 16:11:53 +02:00
emux_effect.c ALSA: seq: Allow the tristate build of OSS emulation 2017-06-09 22:09:45 +02:00
emux_hwdep.c ALSA: emux: Add support of loading GUS-patch 2019-03-26 17:32:02 +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: remove unused redundant variable p2 2017-10-16 13:37:38 +02:00
emux_proc.c ALSA: emux: Remove superfluous snd_info_register() calls 2019-02-06 18:11:53 +01:00
emux_seq.c ALSA: emux: Delete two error messages for a failed memory allocation in snd_emux_create_port() 2017-08-10 17:55:13 +02:00
emux_synth.c ALSA: emux: Convert timers to use timer_setup() 2017-10-24 21:01:33 +02:00
emux_voice.h ALSA: emux: Convert timers to use timer_setup() 2017-10-24 21:01:33 +02:00
soundfont.c ALSA: synth: emux: soundfont.c: divide by zero in calc_gus_envelope_time() 2019-05-06 15:08:08 +02:00