summaryrefslogtreecommitdiffstats
path: root/lib/bucket_locks.c
diff options
context:
space:
mode:
authorTakashi Iwai2019-06-24 15:08:28 +0200
committerTakashi Iwai2019-06-24 15:11:06 +0200
commit801ebf1043ae7b182588554cc9b9ad3c14bc2ab5 (patch)
tree0259d975fddf2d2efd55f82377fad81357d1591e /lib/bucket_locks.c
parentALSA: firewire-motu: unify common tracepoints for both direction (diff)
downloadkernel-qcow2-linux-801ebf1043ae7b182588554cc9b9ad3c14bc2ab5.tar.gz
kernel-qcow2-linux-801ebf1043ae7b182588554cc9b9ad3c14bc2ab5.tar.xz
kernel-qcow2-linux-801ebf1043ae7b182588554cc9b9ad3c14bc2ab5.zip
ALSA: usb-audio: Sanity checks for each pipe and EP types
The recent USB core code performs sanity checks for the given pipe and EP types, and it can be hit by manipulated USB descriptors by syzbot. For making syzbot happier, this patch introduces a local helper for a sanity check in the driver side and calls it at each place before the message handling, so that we can avoid the WARNING splats. Reported-by: syzbot+d952e5e28f5fb7718d23@syzkaller.appspotmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/bucket_locks.c')
0 files changed, 0 insertions, 0 deletions