]> granicus.if.org Git - vim/commit
patch 9.0.0052: "zG" may throw an error if invalid character follows v9.0.0052
authorK.Takata <kentkt@csc.jp>
Thu, 14 Jul 2022 16:25:14 +0000 (17:25 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 14 Jul 2022 16:25:14 +0000 (17:25 +0100)
commit2ebcc35826bc2deb04e5fc6d73332f55783e7f52
treeed74fb14bfee6ec533d72ddd532f57bbf5109ed3
parentf754fe6a3d5384b5146c38a32db6da9d46e00c40
patch 9.0.0052: "zG" may throw an error if invalid character follows

Problem:    "zG" may throw an error if invalid character follows.
Solution:   Pass the word length to valid_spell_word(). (Ken Takata,
            closes #10737)
src/spellfile.c
src/testdir/test_spell.vim
src/version.c