Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Bug in EIT parser.. this is the fix!!



Hello @all


> Hi Folks,
> 
> the problem why vdr crashed was caused due to a bad variable definition
> in 
> libdtv/libsi/si_parser.c:
> 
> struct LIST *siParseEIT (u_char *Buffer) 
> {
> ...
>    u_int                SectionLength, LoopLength;
> ...
>    while (SectionLength > 0)
>    {
> ..
> }
> 
> The condition can never be false, because the variable is defined as
> unsigned integer. 
> 
> Please replace the definition line by
> 
>    int                SectionLength, LoopLength;
> 

this must 2 x in si_parser.c become changed !!

Thanks Deti

Works perfect! :-)

MFG ... Uwe



> and vdr should work.
> 
> 
> Kind regards,
> 
> Deti
> 
> 
> 





Home | Main Index | Thread Index