]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.3083: crash when passing null string to charclass() v8.2.3083
authorChristian Brabandt <cb@256bit.org>
Fri, 2 Jul 2021 18:19:31 +0000 (20:19 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 2 Jul 2021 18:19:31 +0000 (20:19 +0200)
commit72463f883cdfd08e29ab0018ef3889284848d5f1
tree7ef8a34ac8ecb1457755772f3f6fca01378410dc
parentb836f631dba2534efd314a8f77439cebc75acd4e
patch 8.2.3083: crash when passing null string to charclass()

Problem:    Crash when passing null string to charclass().
Solution:   Bail out when string pointer is NULL. (Christian Brabandt,
            closes #8498, closes #8260)
src/mbyte.c
src/testdir/test_functions.vim
src/version.c