]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0340: Problem: Error with matchaddpos() and empty list v9.1.0340
authorChristian Brabandt <cb@256bit.org>
Tue, 16 Apr 2024 20:23:17 +0000 (22:23 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 16 Apr 2024 20:23:17 +0000 (22:23 +0200)
commitf7d31adcc22eae852d6e7a5b59e9755ba7b51d35
tree7dfcab9b1a01a58b7b284ae2347e0e5261a3fb60
parent8560e6cf9797ea1d55ecaea6bf8ee8ec783c291a
patch 9.1.0340: Problem: Error with matchaddpos() and empty list

Problem:  Error with matchaddpos() and empty list
          (@rickhow)
Solution: Return early for an empty list

fixes: #14525
closes: #14563

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/match.c
src/testdir/test_match.vim
src/version.c