0
0
mirror of https://github.com/vim/vim.git synced 2025-11-13 22:54:27 -05:00

patch 8.2.3386: using uninitialized memory

Problem:    Using uninitialized memory.
Solution:   Initialize the rm_ic field. (Dominique Pellé, closes #8800)
This commit is contained in:
Dominique Pelle
2021-08-29 22:12:56 +02:00
committed by Bram Moolenaar
parent 89a9c159f2
commit a918712626
2 changed files with 3 additions and 0 deletions

View File

@@ -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(&regmatch, line, 0))
{
if (wp->w_briopt_list > 0)