]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0701: crash with NFA regex engine when searching for composing chars v9.1.0701
authorChristian Brabandt <cb@256bit.org>
Wed, 28 Aug 2024 21:17:52 +0000 (23:17 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 28 Aug 2024 21:17:52 +0000 (23:17 +0200)
commitc3a02d78bd7a4622e85af348b24fb1388d160de1
treeaeeebfd1b76aea6058a98e4a6073f48b93708ee4
parent1c815b54bbaf872c271d58043e51e56b908c1a20
patch 9.1.0701: crash with NFA regex engine when searching for composing chars

Problem:  crash with NFA regex engine when searching for composing chars
          (SuyueGuo)
Solution: When there is no composing character, break out of the loop
          and check that out1 state is not null

fixes: #15583

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/regexp_nfa.c
src/testdir/crash/nullptr_regexp_nfa [new file with mode: 0644]
src/testdir/test_crash.vim
src/version.c