mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.1495: memory access error
Problem: Memory access error. Solution: Use the correct size for clearing the popup mask.
This commit is contained in:
parent
6c009a3974
commit
1748c7f77e
@ -9345,7 +9345,7 @@ give_up:
|
||||
TabPageIdxs = new_TabPageIdxs;
|
||||
#ifdef FEAT_TEXT_PROP
|
||||
popup_mask = new_popup_mask;
|
||||
vim_memset(popup_mask, 0, screen_Rows * screen_Columns * sizeof(short));
|
||||
vim_memset(popup_mask, 0, Rows * Columns * sizeof(short));
|
||||
popup_mask_refresh = TRUE;
|
||||
#endif
|
||||
|
||||
|
@ -767,6 +767,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1495,
|
||||
/**/
|
||||
1494,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user