linux/drivers/media/video/cx23885
Florin Malita fcf94c89af V4L/DVB (6325): Double-free in cx23885_initdev
Both cx23885_initdev and cx23885_dev_setup free the device in their
error path so a failure in the latter causes a double-free. Since
cx23885_dev_setup is only called from cx23885_initdev, it should be safe
to remove its deallocation and leave the cleanup up to the allocating
function.

Coverity CID 1922.

Signed-off-by: Florin Malita <fmalita@gmail.com>
CC: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-22 12:01:36 -02:00
..
cx23885-cards.c V4L/DVB (6199): cx23885: Changes to allow demodulators on each transport bus 2007-10-09 22:14:29 -03:00
cx23885-core.c V4L/DVB (6325): Double-free in cx23885_initdev 2007-10-22 12:01:36 -02:00
cx23885-dvb.c V4L/DVB (6287): Fix DMA Scatter/Gather constructor 2007-10-10 00:03:09 -03:00
cx23885-i2c.c cx23885: Drop empty i2c algorithm control callback 2007-10-13 23:56:32 +02:00
cx23885-reg.h V4L/DVB (6199): cx23885: Changes to allow demodulators on each transport bus 2007-10-09 22:14:29 -03:00
cx23885.h V4L/DVB (6284): cx23885: Update to new videobuf code 2007-10-10 00:03:09 -03:00
Kconfig V4L/DVB (6297): cx23885: remove wrong Kconfig selection of VIDEOBUF 2007-10-10 00:03:15 -03:00
Makefile V4L/DVB (6150): Add CX23885/CX23887 PCIe bridge driver 2007-10-09 22:07:56 -03:00