Fix a buffer overflow.

gcc 4.7 found it :)
This commit is contained in:
Bill Currie 2012-04-11 14:56:49 +09:00
parent 28b6a374c2
commit 1cbabf72c9

View file

@ -225,7 +225,7 @@ EXP_DoUnary (token * chain)
token *
EXP_ParseString (char *str)
{
char buf[256];
char buf[257];
token *chain, *new, *cur;
size_t i, m;