mirror of
https://github.com/vim/vim.git
synced 2025-10-08 06:04:08 -04:00
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;
|
||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
599,
|
||||
/**/
|
||||
598,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user