]> granicus.if.org Git - vim/commit
patch 8.2.4139: using freed memory in expression abbreviation v8.2.4139
authorBram Moolenaar <Bram@vim.org>
Tue, 18 Jan 2022 20:30:39 +0000 (20:30 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 18 Jan 2022 20:30:39 +0000 (20:30 +0000)
commit94075b2b0e8e3b75334799d2c082497fbf85ffa1
treed939dd75a398770e14f16aa330a43ebbdce07965
parentef7aadbe36ad43a1b909f5f6c7e9b170ad62ef91
patch 8.2.4139: using freed memory in expression abbreviation

Problem:    Using freed memory if an expression abbreviation deletes the
            abbreviation.
Solution:   Do not access the pointer after evaluating the expression.
src/map.c
src/testdir/test_mapping.vim
src/version.c