staging: frontier: use after free in disconnect()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 22 Jul 2013 06:57:49 +0000 (09:57 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 22:08:50 +0000 (15:08 -0700)
commitc8145c56103099565be2e18aeac2a32f79361f3f
tree1e0e82ae7051a0a54e240b5944c0107fa3ace920
parent4b18f08be01a7b3c7b6df497137b6e3cb28adaa3
staging: frontier: use after free in disconnect()

usb_alphatrack_delete() frees "dev" so we can't use it on that path.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/frontier/alphatrack.c