summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rw-r--r--vdrtva.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/TODO b/TODO
index 5dd9ebb..0c976b7 100644
--- a/TODO
+++ b/TODO
@@ -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.
diff --git a/vdrtva.c b/vdrtva.c
index 9b95d3e..dc66620 100644
--- a/vdrtva.c
+++ b/vdrtva.c
@@ -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;