diff options
| author | Dave <vdr@pickles.me.uk> | 2012-08-16 07:19:35 +0100 |
|---|---|---|
| committer | Dave <vdr@pickles.me.uk> | 2012-08-16 07:19:35 +0100 |
| commit | a9ff059861df609c3027b3570fd4957cc3b7b42a (patch) | |
| tree | 71a8b81c9dbdff20633ac2c1c6531d46261f8d68 | |
| parent | 4962076536f4b2509c21ce9561c2ddcd81a7b4f0 (diff) | |
| download | vdrtva-a9ff059861df609c3027b3570fd4957cc3b7b42a.tar.gz vdrtva-a9ff059861df609c3027b3570fd4957cc3b7b42a.tar.bz2 | |
Added another check for missing event pointer.
| -rw-r--r-- | TODO | 1 | ||||
| -rw-r--r-- | vdrtva.c | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -19,3 +19,4 @@ Remove reliance on VDR "Housekeeping" callback - causes problems when VDR is bus Bugs: Very rare crash 'pure virtual method called' in plugin - possibly solved. Spurious timer clash report - seen once, cause unknown. + VDR crash under specific circumstances, cannot reproduce elsewhere. @@ -760,6 +760,10 @@ bool cPluginvdrTva::CheckSplitTimers(void) // Create a timer from an event, setting VPS parameter explicitly. bool cPluginvdrTva::CreateTimerFromEvent(const cEvent *event, char *Path) { + if (!event) { + dsyslog("vdrtva: CreateTimerFromEvent() called without Event!"); + return false; + } struct tm tm_r; char startbuff[64], endbuff[64], etitle[256]; int flags = tfActive; |
