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:
committed by
Bram Moolenaar
parent
89a9c159f2
commit
a918712626
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user