# HG changeset patch # User Bram Moolenaar # Date 1630268104 -7200 # Node ID 357a3bee56f5231c56b403755e62939dc4fe5b04 # Parent d4faa2c5211b28f97da7ab66b21a7b289181e803 patch 8.2.3386: using uninitialized memory Commit: https://github.com/vim/vim/commit/a91871262670f9d3a4e5d1c5c6dbc02f85625f7d Author: Dominique Pelle Date: Sun Aug 29 22:12:56 2021 +0200 patch 8.2.3386: using uninitialized memory Problem: Using uninitialized memory. Solution: Initialize the rm_ic field. (Dominique Pell?, closes https://github.com/vim/vim/issues/8800) diff --git a/src/indent.c b/src/indent.c --- a/src/indent.c +++ b/src/indent.c @@ -953,6 +953,7 @@ get_breakindent_win( 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 --- a/src/version.c +++ b/src/version.c @@ -756,6 +756,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3386, +/**/ 3385, /**/ 3384,