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