[media] cx231xx: use after free on error path in probe
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 1 Nov 2013 10:34:40 +0000 (07:34 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 29 Nov 2013 16:20:32 +0000 (14:20 -0200)
commit7e4b918750b494b68e24222dea5f7d85e90db022
tree448e76b8abf095f948940715aea42588ce8c942f
parent89f4d45b2752df5d222b5f63919ce59e2d8afaf4
[media] cx231xx: use after free on error path in probe

We dereference "dev" after it has already been freed.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/cx231xx/cx231xx-cards.c