mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.3386: using uninitialized memory
Problem: Using uninitialized memory.
Solution: Initialize the rm_ic field. (Dominique Pellé, closes vim/vim#8800)
a918712626
This commit is contained in:
parent
b3a97c56b6
commit
c23e87d9d1
@ -474,6 +474,7 @@ int get_breakindent_win(win_T *wp, char_u *line)
|
||||
};
|
||||
|
||||
if (regmatch.regprog != NULL) {
|
||||
regmatch.rm_ic = false;
|
||||
if (vim_regexec(®match, line, 0)) {
|
||||
if (wp->w_briopt_list > 0) {
|
||||
bri += wp->w_briopt_list;
|
||||
|
Loading…
Reference in New Issue
Block a user