mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 02:41:21 +02:00
small fix, possible segfault in hddmenu
This commit is contained in:
@@ -161,6 +161,7 @@ int CHDDMenuHandler::doMenu ()
|
|||||||
std::string tmp_str[n];
|
std::string tmp_str[n];
|
||||||
CMenuWidget * tempMenu[n];
|
CMenuWidget * tempMenu[n];
|
||||||
for(int i = 0; i < n;i++) {
|
for(int i = 0; i < n;i++) {
|
||||||
|
tempMenu[i] = NULL;
|
||||||
char str[256];
|
char str[256];
|
||||||
char sstr[256];
|
char sstr[256];
|
||||||
char vendor[128], model[128];
|
char vendor[128], model[128];
|
||||||
|
Reference in New Issue
Block a user