]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.0579: using freed memory when 'tagfunc' wipes out buffer v9.0.0579
authorBram Moolenaar <Bram@vim.org>
Sat, 24 Sep 2022 18:20:30 +0000 (19:20 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 24 Sep 2022 18:20:30 +0000 (19:20 +0100)
commit0ff01835a40f549c5c4a550502f62a2ac9ac447c
treeb960fbf355eb410814b87b37a4416e0022d3edd3
parent865bf2ed3039deeaa66312319f3e13db146a9701
patch 9.0.0579: using freed memory when 'tagfunc' wipes out buffer

Problem:    Using freed memory when 'tagfunc' wipes out buffer that holds
            'complete'.
Solution:   Make a copy of the option.  Make sure cursor position is valid.
src/insexpand.c
src/move.c
src/testdir/test_ins_complete.vim
src/version.c