android_kernel_oneplus_msm8998/sound/isa
Dan Carpenter 76feba7d21 ALSA: isa/wavefront: prevent some out of bound writes
[ Upstream commit 84d7a4470dbac0dd9389050100b54a1625d04264 ]

"header->number" can be up to USHRT_MAX and it comes from the ioctl so
it needs to be capped.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-12-21 14:09:54 +01:00
..
ad1816a ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
ad1848 ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00
cs423x ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
es1688 ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
galaxy ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00
gus ALSA: gus: use swap() in snd_ics_put_double() 2015-06-12 20:46:29 +02:00
msnd ALSA: msnd: Fix the default sample sizes 2018-09-26 08:35:04 +02:00
opti9xx ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
sb ALSA: seq: Define driver object in each driver 2015-02-12 14:15:54 +01:00
wavefront ALSA: isa/wavefront: prevent some out of bound writes 2018-12-21 14:09:54 +01:00
wss ALSA: wss: Fix invalid snd_free_pages() at error path 2018-12-13 09:21:27 +01:00
adlib.c ALSA: isa: Convert to snd_card_new() with a device pointer 2014-02-12 10:58:21 +01:00
als100.c ASoC: sb16: Simplify snd_sb16dsp_pcm() 2015-01-02 16:28:35 +01:00
azt2320.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
cmi8328.c ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00
cmi8330.c ALSA: isa: Convert to snd_card_new() with a device pointer 2014-02-12 10:58:21 +01:00
es18xx.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
Kconfig ALSA: Add missing dependency on CONFIG_SND_TIMER 2016-02-17 12:30:58 -08:00
Makefile ALSA: introduce snd-cmi8328: C-Media CMI8328 driver 2012-08-21 07:30:46 +02:00
opl3sa2.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
sc6000.c ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00
sscape.c ALSA: sscape: add missing include of linux/io.h 2015-01-28 16:27:46 +01:00