stringinput: avoid an access out of bounds

ported from tuxbox-neutrino; thx to Gaucho316


Origin commit data
------------------
Branch: ni/coolstream
Commit: b9383588c8
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-06-14 (Fri, 14 Jun 2013)

Origin message was:
------------------
- stringinput: avoid an access out of bounds

ported from tuxbox-neutrino; thx to Gaucho316


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2013-06-14 13:10:02 +02:00
parent 43d4d0483c
commit 90438d2bb1

View File

@@ -101,7 +101,7 @@ class CStringInputSMS : public CStringInput
{
bool capsMode;
int arraySizes[10];
char Chars[10][9]; // maximal 9 character in one CharList entry!
char Chars[10][10]; // maximal 10 character in one CharList entry!
int keyCounter;
int last_digit;