mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 19:06:31 +00:00
vim-patch:8.2.3375: using uninitialized memory
Problem: Using uninitialized memory.
Solution: Initialize textprop_save_len.
df9070e300
textprop_save_len is N/A.
This commit is contained in:
@@ -264,6 +264,7 @@ int ml_open(buf_T *buf)
|
||||
buf->b_ml.ml_line_lnum = 0; // no cached line
|
||||
buf->b_ml.ml_line_offset = 0;
|
||||
buf->b_ml.ml_chunksize = NULL;
|
||||
buf->b_ml.ml_usedchunks = 0;
|
||||
|
||||
if (cmdmod.noswapfile) {
|
||||
buf->b_p_swf = false;
|
||||
|
Reference in New Issue
Block a user