forked from enlightenment/efl
embryo_cc: fix memory overflow in str
After for-loop i can have value 11. So the str should be longer than 11. @fix
This commit is contained in:
parent
2598ea8da8
commit
98229bc5d6
|
@ -454,7 +454,7 @@ matchsequence(char *start, char *end, char *pattern,
|
|||
char symbols[_maxoptvars][_aliasmax + 1], int *match_length)
|
||||
{
|
||||
int var, i;
|
||||
char str[_aliasmax + 1];
|
||||
char str[_aliasmax + 2];
|
||||
char *start_org = start;
|
||||
|
||||
*match_length = 0;
|
||||
|
|
Loading…
Reference in New Issue