summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-12-10 19:27:20 +0100
committerlouis <louis.braun@gmx.de>2014-12-10 19:27:20 +0100
commite746d28750d231a57494f9cffe648087b6f4d37f (patch)
tree03bf3d55a1a58b2ed72a7a6a2986911795f4b2b9
parentd870026113ba3096c9f5dacbb6de5eebf08ad6f5 (diff)
downloadvdr-plugin-skindesigner-e746d28750d231a57494f9cffe648087b6f4d37f.tar.gz
vdr-plugin-skindesigner-e746d28750d231a57494f9cffe648087b6f4d37f.tar.bz2
fixed possible Nullpointer access in displaymenurootview
-rw-r--r--HISTORY3
-rw-r--r--views/displaymenurootview.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index c6aee4e..bdf1086 100644
--- a/HISTORY
+++ b/HISTORY
@@ -110,4 +110,5 @@ Version 0.0.8
Version 0.1.0
-- fixed display of color buttons in detailed views \ No newline at end of file
+- fixed display of color buttons in detailed views
+- fixed possible Nullpointer access in displaymenurootview \ No newline at end of file
diff --git a/views/displaymenurootview.c b/views/displaymenurootview.c
index 1797332..47de424 100644
--- a/views/displaymenurootview.c
+++ b/views/displaymenurootview.c
@@ -390,6 +390,8 @@ cFont *cDisplayMenuRootView::GetTextAreaFont(void) {
void cDisplayMenuRootView::Render(void) {
+ if (!view)
+ return;
if (!view->DrawBackground()) {
if (!defaultBackgroundDrawn) {
defaultBackgroundDrawn = true;