From: Jiri Slaby Date: Sun, 10 Jan 2010 08:56:46 +0000 (-0300) Subject: V4L/DVB (13968): cx18, fix potential null dereference X-Git-Tag: v2.6.34-rc1~280^2~267 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e34d375aa6dade342a266d40c6142d7f36e18683;p=pandora-kernel.git V4L/DVB (13968): cx18, fix potential null dereference Stanse found a potential null dereference in cx18_dvb_start_feed and cx18_dvb_stop_feed. There is a check for stream being NULL, but it is dereferenced earlier. Move the dereference after the check. Signed-off-by: Jiri Slaby Reviewed-by: Andy Walls Acked-by: Andy Walls Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed