]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (3488): Snd_cx88_create: don't dereference NULL core
authorDuncan Sands <duncan.sands@math.u\-psud.fr>
Tue, 14 Mar 2006 15:12:39 +0000 (12:12 -0300)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 21 Mar 2006 16:53:21 +0000 (08:53 -0800)
commit31dcbf994b9eda784c620c8caa3a9dc67a9d0045
tree889d77d98d5584c7f90293344e56da62fd77a891
parentae24601b47c3f4a56545ef4cd4e7c821ac1db598
V4L/DVB (3488): Snd_cx88_create: don't dereference NULL core

If the call to cx88_core_get returns a NULL value, it is dereferenced
by cx88_reset, and perhaps by cx88_core_put.  Spotted by the Coverity
checker.

Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-alsa.c