aboutsummaryrefslogtreecommitdiff
path: root/sound/usb
diff options
context:
space:
mode:
authorTakashi Iwai2021-06-02 13:38:23 +0200
committerTakashi Iwai2021-06-03 09:39:58 +0200
commit9c1fe96bded935369f8340c2ac2e9e189f697d5d (patch)
tree7141e4087a641e357cde4eb2d954fbe0fdff42df /sound/usb
parent3ae72f6ab9c1f688bd578cdc252dabce65fdaf57 (diff)
ALSA: timer: Fix master timer notification
snd_timer_notify1() calls the notification to each slave for a master event, but it passes a wrong event number. It should be +10 offset, corresponding to SNDRV_TIMER_EVENT_MXXX, but it's incorrectly with +100 offset. Casually this was spotted by UBSAN check via syzkaller. Reported-by: syzbot+d102fa5b35335a7e544e@syzkaller.appspotmail.com Reviewed-by: Jaroslav Kysela <perex@perex.cz> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/000000000000e5560e05c3bd1d63@google.com Link: https://lore.kernel.org/r/20210602113823.23777-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions