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)
|
||||
|
||||
@ -755,6 +755,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3386,
|
||||
/**/
|
||||
3385,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user