]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0703: crash with 2byte encoding and glob2regpat() v9.1.0703
authorChristian Brabandt <cb@256bit.org>
Thu, 29 Aug 2024 20:12:05 +0000 (22:12 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 29 Aug 2024 20:15:03 +0000 (22:15 +0200)
commitc9bfed2fda8c23cc02325b1a7a6d84dc62bbea4b
tree8aefb2edd35bfaa3f2898d42998d749eb62d0fda
parent87c01d956168c1f41068c2a52e873f760c1f5fa9
patch 9.1.0703: crash with 2byte encoding and glob2regpat()

Problem:  possible crash with 2-byte encoding and glob2regpat()
          (after v9.1.0700, v9.1.0702)
Solution: include both bytes for a multi-byte character for an
          escaped character

closes: #15590

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