mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 02:11:04 +02:00
stringinput: avoid uninitialized access
Origin commit data
------------------
Branch: ni/coolstream
Commit: 609d29bdd8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-11-14 (Wed, 14 Nov 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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