mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +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 "";
|
return "";
|
||||||
|
|
||||||
neutrino_locale_t loc = NONEXISTANT_LOCALE;
|
neutrino_locale_t loc = NONEXISTANT_LOCALE;
|
||||||
const char *text = NULL;
|
static const char *text = NULL;
|
||||||
int mode = CNeutrinoApp::getInstance()->getMode();
|
int mode = CNeutrinoApp::getInstance()->getMode();
|
||||||
|
|
||||||
std::vector<std::string> items = ::split(g_settings.usermenu[button]->items, ',');
|
std::vector<std::string> items = ::split(g_settings.usermenu[button]->items, ',');
|
||||||
|
Reference in New Issue
Block a user