linux_dsm_epyc7002/drivers/media/usb/stkwebcam
Dan Carpenter 6e298d5847 media: stk-webcam: Fix use after free on disconnect
We free the stk_camera device too early.  It's allocate first in probe
and it should be freed last in stk_camera_disconnect().

Reported-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-08 10:06:46 -05:00
..
Kconfig [media] v4l2: remove experimental tag from a number of old drivers 2012-09-26 09:44:42 -03:00
Makefile
stk-sensor.c media: stkwebcam: Use more common logging styles 2017-06-24 09:36:38 -03:00
stk-webcam.c media: stk-webcam: Fix use after free on disconnect 2017-12-08 10:06:46 -05:00
stk-webcam.h media: stkwebcam: Use more common logging styles 2017-06-24 09:36:38 -03:00