commit | f2ad530b4f328e42ad180cf4729fd55514f32b58 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri May 01 12:40:11 2020 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jun 25 15:32:48 2020 +0200 |
tree | 943e4bcd5fc4707906ba162081dcc2b751f1a76e | |
parent | c33ee0a0091ed079a2d74c3c43ae46541a9b4838 [diff] |
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>