[linux-dvb] [RFC] merged tree with newer patch series
Mauro Carvalho Chehab
mchehab at infradead.org
Tue Oct 30 03:50:28 CET 2007
> Looking at tuner-xc2028.c, there seem to be some issues:
>
> a) priv->count is initialized to zero by the first user. This would
> result in priv either being freed prematurely or never freed at all.
> b) If priv is freed, it doesn't seem to be removed from the global
> xc2028_list list, meaning that this list is left containing dangling
> pointers that will be followed the next time xc2028_attach is called.
>
> Of course, unless there's more than one user of the same tuner, these
> would mostly cancel each other, leaving nothing but a slight memory
> leak.
Thanks for the finding, Aidan! I've wrote a patch fixing it.
I've already merged all the patch series, including the fix, at v4l-dvb.
A good news is that I had some time to make HVR-950 (Analog part) to
work with tuner-xc2028.
Cheers,
Mauro
More information about the linux-dvb
mailing list