kernel-fxtec-pro1x/sound/isa/wavefront
Dan Carpenter f2ad530b4f ALSA: isa/wavefront: prevent out of bounds write in ioctl
[ Upstream commit 7f0d5053c5a9d23fe5c2d337495a9d79038d267b ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-25 15:32:48 +02:00
..
Makefile
wavefront.c ALSA: wavefront: constify pnp_card_device_id 2017-08-17 12:42:32 +02:00
wavefront_fx.c sound: Deparenthesize negative error returns 2015-03-24 11:41:37 +01:00
wavefront_midi.c ALSA: wavefront: Convert timers to use timer_setup() 2017-10-24 21:33:03 +02:00
wavefront_synth.c ALSA: isa/wavefront: prevent out of bounds write in ioctl 2020-06-25 15:32:48 +02:00