From: Jon Burgess Date: Wed, 28 Sep 2005 04:45:26 +0000 (-0700) Subject: [PATCH] dvb: fix NULL pointer dereference when loading the budget-av module X-Git-Tag: v2.6.14-rc3~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88bdcc5d5e9a7ea280f99262f48b70aba9d949bf;p=pandora-kernel.git [PATCH] dvb: fix NULL pointer dereference when loading the budget-av module Ralph Metzler wrote: > AFAIR, there is a bug in tda10021.c in tda10021_readreg() which > references state->frontend.dvb->num > This is fatal if the frontend is not at the probed address and thus > not yet registered (no dvb entry set yet -> NULL pointer ...). The attached patch should get rid of the oops. Signed-off-by: Jon Burgess Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed