linux/drivers/media/video/bt8xx
Brandon Philips 49ee718ef5 V4L/DVB (6305): V4L: videobuf-core.c avoid NULL dereferences in videobuf-core
The return value of videobuf_alloc() is unchecked but this function will
return NULL on an error.  Check for NULL and make videobuf_reqbufs()
return the number of successfully allocated buffers.

Also, fix saa7146_video.c and bttv-driver.c to use this returned
buffer count.

Tested against the vivi driver.  Not tested against saa7146 or bt8xx
devices.

Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-10 00:03:20 -03:00
..
bt832.c V4L/DVB (3577): Cleanup audio input handling 2006-03-24 16:26:56 -03:00
bt832.h V4L/DVB (3539): Move bttv fragments to bt8xx/ 2006-03-24 16:26:50 -03:00
bt848.h V4L/DVB (3539): Move bttv fragments to bt8xx/ 2006-03-24 16:26:50 -03:00
bttv-cards.c V4L/DVB (6249): Add Typhoon Tv-Tuner PCI to bttv-cards.c 2007-10-09 22:14:55 -03:00
bttv-driver.c V4L/DVB (6305): V4L: videobuf-core.c avoid NULL dereferences in videobuf-core 2007-10-10 00:03:20 -03:00
bttv-gpio.c V4L/DVB (5278): Bt8xx/: possible cleanups 2007-04-27 15:43:20 -03:00
bttv-i2c.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
bttv-if.c V4L/DVB (5278): Bt8xx/: possible cleanups 2007-04-27 15:43:20 -03:00
bttv-input.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
bttv-risc.c V4L/DVB (6252): Adapt drivers to use the newer videobuf modules 2007-10-09 22:14:55 -03:00
bttv-vbi.c V4L/DVB (6252): Adapt drivers to use the newer videobuf modules 2007-10-09 22:14:55 -03:00
bttv.h V4L/DVB (6249): Add Typhoon Tv-Tuner PCI to bttv-cards.c 2007-10-09 22:14:55 -03:00
bttvp.h V4L/DVB (6252): Adapt drivers to use the newer videobuf modules 2007-10-09 22:14:55 -03:00
Kconfig V4L/DVB (6252): Adapt drivers to use the newer videobuf modules 2007-10-09 22:14:55 -03:00
Makefile V4L/DVB (3731): Kbuild: drivers/media/video/bt8xx: remove $(src) from include path 2006-05-12 19:54:40 -03:00