[linux-dvb] [PATCH] fix NULL pointer dereference in NOVA T USB2 Remote Control

Mario Rossi mariofutire at googlemail.com
Sun Oct 8 13:26:59 CEST 2006

This patch fixes the NULL pointer exception while using the Remote
Control for a NOVA T USB2.

Basically this line was missing (for the properties of the device

       .size_of_priv     = sizeof(struct dibusb_state),

I'm not sure the fix is 100% correct since the same line is present
for the properties of the adapter (dvb_usb_device_adapter_properties),
both at around line 154 of

The question is: the "struct dibusb_state" should be allocated for

1) the device
2) the adapter
3) both


Should the patch remove the allocation of "priv" for the adapter?

Any suggestions?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nova_t_usb2.patch
Type: text/x-patch
Size: 1103 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20061008/47f66468/nova_t_usb2.bin

More information about the linux-dvb mailing list