diff options
author | Dominique Pelle <dominique.pelle@gmail.com> | 2021-08-29 22:12:56 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-08-29 22:12:56 +0200 |
commit | a91871262670f9d3a4e5d1c5c6dbc02f85625f7d (patch) | |
tree | 6613b98b1fb413c66a7e1bc7d3229565be2d34f4 /src/indent.c | |
parent | 89a9c159f23fb7b3e24e6d09068adfc24a73afcb (diff) |
patch 8.2.3386: using uninitialized memoryv8.2.3386
Problem: Using uninitialized memory.
Solution: Initialize the rm_ic field. (Dominique Pellé, closes #8800)
Diffstat (limited to 'src/indent.c')
-rw-r--r-- | src/indent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indent.c b/src/indent.c index 99951c81bf..f4c398219a 100644 --- 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) |