]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.0021: invalid memory access when adding word to spell word list v9.0.0021
authorBram Moolenaar <Bram@vim.org>
Fri, 1 Jul 2022 21:26:20 +0000 (22:26 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 1 Jul 2022 21:26:20 +0000 (22:26 +0100)
commit5e59ea54c0c37c2f84770f068d95280069828774
tree09f0c34da420d6aff84c745647201844c15fcfab
parentf12129f1714f7d2301935bb21d896609bdac221c
patch 9.0.0021: invalid memory access when adding word to spell word list

Problem:    Invalid memory access when adding word with a control character to
            the internal spell word list.
Solution:   Disallow adding a word with control characters or a trailing
            slash.
src/spellfile.c
src/testdir/test_spell.vim
src/version.c