diff options
author | 2020-07-27 23:42:17 -0700 | |
---|---|---|
committer | 2020-07-28 13:01:51 -0700 | |
commit | e911e99a0770f760377c263bc7bac1b1593c6147 (patch) | |
tree | 04cf65ead3fe676c4df53d747f8a0cc433ce926e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'hns3-fixes' (diff) | |
download | wireguard-linux-e911e99a0770f760377c263bc7bac1b1593c6147.tar.xz wireguard-linux-e911e99a0770f760377c263bc7bac1b1593c6147.zip |
usb: hso: check for return value in hso_serial_common_create()
in case of an error tty_register_device_attr() returns ERR_PTR(),
add IS_ERR() check
Reported-and-tested-by: syzbot+67b2bd0e34f952d0321e@syzkaller.appspotmail.com
Link: https://syzkaller.appspot.com/bug?extid=67b2bd0e34f952d0321e
Signed-off-by: Rustam Kovhaev <rkovhaev@gmail.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions