diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-05-01 12:40:11 +0300 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2020-06-29 20:07:48 -0400 |
| commit | f4ea855de425162d20e5a45b4a29e220dfa67877 (patch) | |
| tree | f531eeeee6008e829e2fc9a5b2a13896758e91c3 /include/linux | |
| parent | 9ec09642f5cd064102ad2ffe2037c07771fd0bb4 (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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
