TODO: Added a todo for refactoring TOKEN::Match

This commit is contained in:
Daniel Marjamäki 2008-12-06 13:21:33 +00:00
parent 7196b8a028
commit 202c613e70
1 changed files with 3 additions and 2 deletions

View File

@ -136,7 +136,8 @@ bool TOKEN::Match(const TOKEN *tok, const char pattern[], const char *varname1[]
p++;
// Extract token from pattern..
char str[50];
// TODO: Refactor this so there can't be buffer overflows
char str[500];
char *s = str;
while (*p && *p!=' ')
{