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!!



Sorry for my last mail. 
I changed the wrong siParse ...

It works with this hint.


//Oliver




"Kai" <maniac@superbyte.de>
Sent by: vdr-bounce@linuxtv.org
29.01.02 21:16
Please respond to vdr

 
        To:     <vdr@linuxtv.org>
        cc: 
        Subject:        [vdr] Re: Bug in EIT parser..  this is the fix!!


i would like to thank Deti for his solution.
u saved my evening ;)

bye

Kai

----- Original Message ----- 
From: "Deti Fliegl" <deti@fliegl.de>
To: "VDR Mailinglist" <vdr@linuxtv.org>
Sent: Tuesday, January 29, 2002 7:51 PM
Subject: [vdr] Bug in EIT parser.. this is the fix!!


> 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;
> 
> and vdr should work.
> 
> 
> Kind regards,
> 
> Deti
> 
> 









Home | Main Index | Thread Index