Patch 8.1.1495

11 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 8, 2019, 10:55:35 AM6/8/19
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- 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 ///
Reply all
Reply to author
Forward
0 new messages