patch 8.2.3386: using uninitialized memory
Problem: Using uninitialized memory.
Solution: Initialize the rm_ic field. (Dominique Pellé, closes #8800)
diff --git a/src/indent.c b/src/indent.c
index 99951c8..f4c3982 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -953,6 +953,7 @@
RE_MAGIC + RE_STRING + RE_AUTO + RE_STRICT);
if (regmatch.regprog != NULL)
{
+ regmatch.rm_ic = FALSE;
if (vim_regexec(®match, line, 0))
{
if (wp->w_briopt_list > 0)
diff --git a/src/version.c b/src/version.c
index 5f427a8..1d65716 100644
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3386,
+/**/
3385,
/**/
3384,