mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
user_menue: fix use heap after free, in infoviewer_bb.cpp:257
This commit is contained in:
@@ -578,7 +578,7 @@ const char *CUserMenu::getUserMenuButtonName(int button, bool &active, bool retu
|
||||
return "";
|
||||
|
||||
neutrino_locale_t loc = NONEXISTANT_LOCALE;
|
||||
const char *text = NULL;
|
||||
static const char *text = NULL;
|
||||
int mode = CNeutrinoApp::getInstance()->getMode();
|
||||
|
||||
std::vector<std::string> items = ::split(g_settings.usermenu[button]->items, ',');
|
||||
|
Reference in New Issue
Block a user