[linux-dvb] Fw: NULL pointer dereference when loading the budget-av module

Jon Burgess jburgess at uklinux.net
Sun Sep 25 02:45:49 CEST 2005


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 ...).

Looks like that to me too. The attached patch should get rid of the oops.

	Jon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tda10021-fix.patch
Type: text/x-patch
Size: 802 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20050925/0334fa8d/tda10021-fix.bin


More information about the linux-dvb mailing list