diff options
author | louis <louis.braun@gmx.de> | 2014-12-10 19:27:20 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-12-10 19:27:20 +0100 |
commit | e746d28750d231a57494f9cffe648087b6f4d37f (patch) | |
tree | 03bf3d55a1a58b2ed72a7a6a2986911795f4b2b9 | |
parent | d870026113ba3096c9f5dacbb6de5eebf08ad6f5 (diff) | |
download | vdr-plugin-skindesigner-e746d28750d231a57494f9cffe648087b6f4d37f.tar.gz vdr-plugin-skindesigner-e746d28750d231a57494f9cffe648087b6f4d37f.tar.bz2 |
fixed possible Nullpointer access in displaymenurootview
-rw-r--r-- | HISTORY | 3 | ||||
-rw-r--r-- | views/displaymenurootview.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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; |