Mailing List archive

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

[linux-dvb] Bug in Master-Timer 0.0.8



#include <hallo.h>



Just found a "fatal" Bug in Master-Timer-0.0.8 regarding the "only use
timers in the future". 
I forgot to undef some variables before going on with the next timer.

In the code which corrects the epg-Bugs of some channels there is a check
in the "VOX/VIVA"-case which tests if there is a "description" and "die"s
if there is one. 

That bug could trigger that code.

Here is the patch.


--- master-timer.pl-old Mon Mar 19 20:59:12 2001
+++ master-timer.pl     Mon Mar 19 20:59:43 2001
@@ -773,6 +773,9 @@
                    # Only accept timers that are in the future
                    if ($time < time)
                      {
+                       undef $duration;
+                       undef $subtitle;
+                       undef $description;
                        next;
                      }






Bis denn

-- 
Real Programmers consider "what you see is what you get" to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.




--- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index