mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
stringinput: avoid uninitialized access
This commit is contained in:
@@ -421,7 +421,7 @@ int CStringInput::exec( CMenuTarget* parent, const std::string & )
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
oldval[size] = 0;
|
oldval[size] = 0;
|
||||||
dispval[size] = 0;
|
memset(dispval, 0, size + 1);
|
||||||
|
|
||||||
if (parent)
|
if (parent)
|
||||||
parent->hide();
|
parent->hide();
|
||||||
|
Reference in New Issue
Block a user