OpenCloudOS-Kernel/sound/isa/wavefront
Dan Carpenter 7f0d5053c5 ALSA: isa/wavefront: prevent out of bounds write in ioctl
The "header->number" comes from the ioctl and it needs to be clamped to
prevent out of bounds writes.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20200501094011.GA960082@mwanda
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2020-05-01 12:25:49 +02:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
wavefront.c ALSA: wavefront: Support PCM sync_stop 2019-12-11 07:25:58 +01:00
wavefront_fx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
wavefront_midi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 371 2019-06-05 17:37:10 +02:00
wavefront_synth.c ALSA: isa/wavefront: prevent out of bounds write in ioctl 2020-05-01 12:25:49 +02:00