summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-pow.c
diff options
context:
space:
mode:
authorRustam Kovhaev <rkovhaev@gmail.com>2020-07-22 09:10:52 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-22 19:49:37 +0200
commitfaaff9765664009c1c7c65551d32e9ed3b1dda8f (patch)
tree74153e438cd7de5117fba19e0ad6c63f74343c1d /lib/mpi/mpi-pow.c
parent926234f1b8434c4409aa4c53637aa3362ca07cea (diff)
staging: wlan-ng: properly check endpoint types
As syzkaller detected, wlan-ng driver does not do sanity check of endpoints in prism2sta_probe_usb(), add check for xfer direction and type Reported-and-tested-by: syzbot+c2a1fa67c02faa0de723@syzkaller.appspotmail.com Link: https://syzkaller.appspot.com/bug?extid=c2a1fa67c02faa0de723 Signed-off-by: Rustam Kovhaev <rkovhaev@gmail.com> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20200722161052.999754-1-rkovhaev@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions