]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.2176: crash with a sequence of fold commands v8.2.2176
authorBram Moolenaar <Bram@vim.org>
Mon, 21 Dec 2020 13:01:41 +0000 (14:01 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 21 Dec 2020 13:01:41 +0000 (14:01 +0100)
commit6a78f328442073c32d58eafc13ce5a1ca7729eeb
tree548fff3a725c758dc9dde5f5444498c462c5219e
parent9aff970204234193045cfee205d51e2393e93bfd
patch 8.2.2176: crash with a sequence of fold commands

Problem:    Crash with a sequence of fold commands.
Solution:   Bail out when there are no folds at all.  Add a test (Dominique
            PellĂ©) (closes #7515)
src/fold.c
src/testdir/test_fold.vim
src/version.c