mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
Avoid possible array overflow. Reported by Madhu Kurup.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3804
This commit is contained in:
parent
b3b8913e6e
commit
1bfe4d6369
@ -340,7 +340,7 @@ GetHpTok(infp)
|
||||
* "thefloatish").
|
||||
*/
|
||||
|
||||
static char numberstring[ NUMBER_LENGTH - 1 ];
|
||||
static char numberstring[ NUMBER_LENGTH ];
|
||||
|
||||
token
|
||||
GetNumber(infp)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user