ISDN: Add check for usb_alloc_urb() result
authorKarsten Keil <kkeil@linux-pingi.de>
Thu, 12 Jul 2012 22:59:46 +0000 (22:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2012 16:40:54 +0000 (09:40 -0700)
commit2ae4605d738ede6d94a481a30972fadfdaf73549
tree7b92b5c173d75ffa83be5e8e9a6ad391bcd23737
parent5b999fd04af95e2cb624aaf6a7637561572b2d96
ISDN: Add check for usb_alloc_urb() result

usb_alloc_urb() return value needs to be checked to avoid
later NULL pointer access.
Reported by rucsoftsec@gmail.com via bugzilla.kernel.org #44601.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hardware/mISDN/hfcsusb.c
drivers/isdn/hisax/hfc_usb.c