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;