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)
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index 2bd75af..3d125f0 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -5408,7 +5408,7 @@
regsubs_T *m;
{
int result;
- int size = 0;
+ size_t size = 0;
int flag = 0;
int go_to_nextline = FALSE;
nfa_thread_T *t;
diff --git a/src/version.c b/src/version.c
index 35a7160..7f84aec 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 599,
+/**/
598,
/**/
597,