mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +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;
|
||||
}
|
||||
oldval[size] = 0;
|
||||
dispval[size] = 0;
|
||||
memset(dispval, 0, size + 1);
|
||||
|
||||
if (parent)
|
||||
parent->hide();
|
||||
|
Reference in New Issue
Block a user