Patch 8.2.3375
Problem: Using uninitialized memory.
Solution: Initialize textprop_save_len.
Files: src/memline.c
*** ../vim-8.2.3374/src/memline.c 2021-08-25 16:40:00.063305313 +0200
--- src/memline.c 2021-08-25 17:29:01.353710096 +0200
***************
*** 289,294 ****
--- 289,295 ----
buf->b_ml.ml_line_lnum = 0; // no cached line
#ifdef FEAT_BYTEOFF
buf->b_ml.ml_chunksize = NULL;
+ buf->b_ml.ml_usedchunks = 0;
#endif
if (cmdmod.cmod_flags & CMOD_NOSWAPFILE)
***************
*** 3607,3613 ****
int ret = FAIL;
#ifdef FEAT_PROP_POPUP
char_u *textprop_save = NULL;
! int textprop_save_len;
#endif
if (lowest_marked && lowest_marked > lnum)
--- 3608,3614 ----
int ret = FAIL;
#ifdef FEAT_PROP_POPUP
char_u *textprop_save = NULL;
! int textprop_save_len = 0;
#endif
if (lowest_marked && lowest_marked > lnum)
*** ../vim-8.2.3374/src/version.c 2021-08-25 17:10:35.479921268 +0200
--- src/version.c 2021-08-25 17:31:17.933402492 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3375,
/**/
--
Computers make very fast, very accurate, mistakes.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202108251532.17PFWInP2240098%40masaka.moolenaar.net.