forked from aniani/vim
updated for version 7.4.599
Problem: Out-of-memory error.
Solution: Avoid trying to allocate a negative amount of memory, use size_t
instead of int. (Dominique Pelle)
This commit is contained in:
@@ -5408,7 +5408,7 @@ nfa_regmatch(prog, start, submatch, m)
|
||||
regsubs_T *m;
|
||||
{
|
||||
int result;
|
||||
int size = 0;
|
||||
size_t size = 0;
|
||||
int flag = 0;
|
||||
int go_to_nextline = FALSE;
|
||||
nfa_thread_T *t;
|
||||
|
||||
Reference in New Issue
Block a user