USB: fix use after free in wacom_sys.c
authorEric Sesterhenn <snakebyte@gmx.de>
Wed, 4 Oct 2006 16:56:44 +0000 (09:56 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Oct 2006 21:46:30 +0000 (14:46 -0700)
commit2daa48729dfafd349c2a52520734de2edb9dc805
tree9355ed48b1da6d74b8877866fb49cfb57ec579f5
parent2920349d438ec08d2b1f6761c8b78b8d13fd1dee
USB: fix use after free in wacom_sys.c

the following commit added a use after free
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3D3bea733ab21247290bd552dd6a2cd3049af9adef
Found by coverity (cid #1441)

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: "Ping Cheng" <pingc@wacom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/input/wacom_sys.c