Patch 8.2.4236
Problem: Accessing freed memory.
Solution: Set the bh_curr pointer to NULL.
Files: src/getchar.c
*** ../vim-8.2.4235/src/getchar.c 2022-01-27 20:47:00.117108960 +0000
--- src/getchar.c 2022-01-27 21:54:50.523209417 +0000
***************
*** 110,115 ****
--- 110,116 ----
vim_free(p);
}
buf->bh_first.b_next = NULL;
+ buf->bh_curr = NULL;
}
/*
*** ../vim-8.2.4235/src/version.c 2022-01-27 20:47:00.117108960 +0000
--- src/version.c 2022-01-27 21:55:26.686697715 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4236,
/**/
--
The most powerful force in the universe is gossip.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///