]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1528: completion: crash with getcompletion() v9.1.1528
authorChristian Brabandt <cb@256bit.org>
Tue, 8 Jul 2025 20:04:10 +0000 (22:04 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 8 Jul 2025 20:12:37 +0000 (22:12 +0200)
commitf2ec8d4afc0623a477d198c42994544190b4e427
tree92851a22ae6bf97e085cf56e7f2cab24d94d0410
parent2ffd35fe8fade8f08eadf6b41b40e55b155424b8
patch 9.1.1528: completion: crash with getcompletion()

Problem:  completion: crash with getcompletion()
          (zeertzjq)
Solution: Don't set may_expand_pattern in f_getcompletion(),
          unset may_expand_pattern() once it is not longer needed
          (Girish Palya).

fixes: #17680
closes: #17686

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/cmdexpand.c
src/testdir/test_cmdline.vim
src/version.c