Patch 8.1.1495 (after 8.1.1494)
Problem:    Memory access error.
Solution:   Use the correct size for clearing the popup mask.
Files:      src/screen.c


*** ../vim-8.1.1494/src/screen.c        2019-06-08 16:01:10.643493653 +0200
--- src/screen.c        2019-06-08 16:51:46.192412305 +0200
***************
*** 9345,9351 ****
      TabPageIdxs = new_TabPageIdxs;
  #ifdef FEAT_TEXT_PROP
      popup_mask = new_popup_mask;
!     vim_memset(popup_mask, 0, screen_Rows * screen_Columns * sizeof(short));
      popup_mask_refresh = TRUE;
  #endif
  
--- 9345,9351 ----
      TabPageIdxs = new_TabPageIdxs;
  #ifdef FEAT_TEXT_PROP
      popup_mask = new_popup_mask;
!     vim_memset(popup_mask, 0, Rows * Columns * sizeof(short));
      popup_mask_refresh = TRUE;
  #endif
  
*** ../vim-8.1.1494/src/version.c       2019-06-08 16:06:25.454274085 +0200
--- src/version.c       2019-06-08 16:55:00.815394806 +0200
***************
*** 769,770 ****
--- 769,772 ----
  {   /* Add new patch number below this line */
+ /**/
+     1495,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
121. You ask for e-mail adresses instead of telephone numbers.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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/201906081455.x58EtTAf007330%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui