diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-05-06 15:51:19 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-05-06 15:08:08 +0200 |
commit | 2854cd34fbab5f28a356d3667c26b7856a7b73e2 (patch) | |
tree | 3b195fc5c6918e3f621973a8dce8a74aa9bf5066 /mm/msync.c | |
parent | 17b89c80319c2a66d33142112e06bf15893e6ecb (diff) | |
download | linux-stable-2854cd34fbab5f28a356d3667c26b7856a7b73e2.tar.gz linux-stable-2854cd34fbab5f28a356d3667c26b7856a7b73e2.tar.bz2 linux-stable-2854cd34fbab5f28a356d3667c26b7856a7b73e2.zip |
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>
Diffstat (limited to 'mm/msync.c')
0 files changed, 0 insertions, 0 deletions