summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-05-04 09:27:37 +0300
committerTakashi Iwai <tiwai@suse.de>2016-05-08 11:39:44 +0200
commit84d7a4470dbac0dd9389050100b54a1625d04264 (patch)
tree19fbd6b26fc3fc8c7bce4f3441c44f518abd46e0 /sound/pci/hda/patch_realtek.c
parente4ec8cc8039a7063e24204299b462bd1383184a5 (diff)
ALSA: isa/wavefront: prevent some out of bound writes
"header->number" can be up to USHRT_MAX and it comes from the ioctl so it needs to be capped. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
0 files changed, 0 insertions, 0 deletions