To: vim_dev@googlegroups.com Subject: Patch 8.2.4236 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///