TODO: Added a todo for refactoring TOKEN::Match
This commit is contained in:
parent
7196b8a028
commit
202c613e70
|
@ -135,8 +135,9 @@ bool TOKEN::Match(const TOKEN *tok, const char pattern[], const char *varname1[]
|
|||
while ( *p == ' ' )
|
||||
p++;
|
||||
|
||||
// Extract token from pattern..
|
||||
char str[50];
|
||||
// Extract token from pattern..
|
||||
// TODO: Refactor this so there can't be buffer overflows
|
||||
char str[500];
|
||||
char *s = str;
|
||||
while (*p && *p!=' ')
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue