]> err.no Git - linux-2.6/commit
USB: fix dereference in drivers/usb/misc/adutux.c
authorEric Sesterhenn <snakebyte@gmx.de>
Thu, 5 Oct 2006 22:09:29 +0000 (00:09 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Oct 2006 21:46:33 +0000 (14:46 -0700)
commita65dc301c7448a9a8d24bf1cbfe292541d1fa390
treeaccd226dcdd84f0422fd7d933fbfbbebb56ea4fd
parent0f64478cbc7a008fe7b7e9ae79a73d8a6904ead8
USB: fix dereference in drivers/usb/misc/adutux.c

in two of the error cases, dev is still NULL,
and we dereference it. Spotted by coverity (cid#1428, 1429)

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/adutux.c