summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2005-09-20 18:22:56 +0000
committerlordjaxom <lordjaxom>2005-09-20 18:22:56 +0000
commit39a54ec230977ea1d532b3366b1a1d6025716bf4 (patch)
tree6b8386421bc83ce5c498776f1e6ec698a04e784b
parent136f061aaf2528cab7117bc1f5459a7930ccc1c8 (diff)
downloadvdr-plugin-text2skin-39a54ec230977ea1d532b3366b1a1d6025716bf4.tar.gz
vdr-plugin-text2skin-39a54ec230977ea1d532b3366b1a1d6025716bf4.tar.bz2
- fixed crash due to uninitialized pointer (thanks to Frank Enderle)
-rw-r--r--CONTRIBUTORS3
-rw-r--r--HISTORY2
-rw-r--r--display.c3
3 files changed, 7 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index b01a31e..86ab45f 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -17,3 +17,6 @@ Andreas Brugger and Stefan Schenk
Reinhard Nissl
for pointing out a deadly race condition in cText2SkinDisplayMenu::SetItem
+
+Frank Enderle
+ for sending a patch to fix a crash due to uninitialized pointer
diff --git a/HISTORY b/HISTORY
index 984fc3f..e861639 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3,6 +3,8 @@ VDR Plugin 'text2skin' Revision History
2005-06-xx: Version 1.1
+- fixed crash due to uninitialized pointer (thanks to Frank Enderle)
+- patch for PresentRemaining by Björn (VDR-Portal)
- fixed a race condition (thanks to Reinhard Nissl for pointing this out)
- updated finnish translations (thanks to Rolf Ahrenberg)
- added tokens for Recording Info Display
diff --git a/display.c b/display.c
index 433d537..a8fca2c 100644
--- a/display.c
+++ b/display.c
@@ -1,5 +1,5 @@
/*
- * $Id: display.c,v 1.23 2005/06/05 21:39:02 lordjaxom Exp $
+ * $Id: display.c,v 1.24 2005/09/20 18:22:56 lordjaxom Exp $
*/
#include "render.h"
@@ -693,6 +693,7 @@ cText2SkinDisplayMenu::cText2SkinDisplayMenu(cText2SkinLoader *Loader):
mMessageType(mtStatus),
mMessageText(""),
mEvent(NULL),
+ mRecording(NULL),
mItems(),
mCurrentItem((uint)-1)
{