linux/drivers/misc/mic/vop
Dan Carpenter 816c9311f1 misc: mic: double free on ioctl error path
This function only has one caller.  Freeing "vdev" here leads to a use
after free bug.  There are several other error paths in this function
but this is the only one which frees "vdev".  It looks like the kfree()
can be safely removed.

Fixes: 61e9c905df ("misc: mic: Enable VOP host side functionality")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-10 21:46:41 +01:00
..
Makefile misc: mic: Enable VOP debugfs and driver build 2016-02-09 17:32:37 -08:00
vop_debugfs.c misc: mic: Enable VOP debugfs and driver build 2016-02-09 17:32:37 -08:00
vop_main.c misc: mic: Enable VOP card side functionality 2016-02-09 17:32:37 -08:00
vop_main.h
vop_vringh.c misc: mic: double free on ioctl error path 2017-01-10 21:46:41 +01:00