commit | a91871262670f9d3a4e5d1c5c6dbc02f85625f7d | [log] [tgz] |
---|---|---|
author | Dominique Pelle <dominique.pelle@gmail.com> | Sun Aug 29 22:12:56 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Aug 29 22:12:56 2021 +0200 |
tree | 6613b98b1fb413c66a7e1bc7d3229565be2d34f4 | |
parent | 89a9c159f23fb7b3e24e6d09068adfc24a73afcb [diff] [blame] |
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)