diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-05-01 11:40:11 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-05-01 12:25:49 +0200 |
commit | 7f0d5053c5a9d23fe5c2d337495a9d79038d267b (patch) | |
tree | 33deaf6b3ec97c70419f47bc3fcece72baf0747f /sound/i2c | |
parent | ALSA: hda/realtek - Fix unused variable warning w/o CONFIG_LEDS_TRIGGER_AUDIO (diff) | |
download | linux-7f0d5053c5a9d23fe5c2d337495a9d79038d267b.tar.xz linux-7f0d5053c5a9d23fe5c2d337495a9d79038d267b.zip |
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>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions