]> granicus.if.org Git - vim/commit
patch 8.2.5072: using uninitialized value and freed memory in spell command v8.2.5072
authorBram Moolenaar <Bram@vim.org>
Thu, 9 Jun 2022 18:54:24 +0000 (19:54 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 9 Jun 2022 18:54:24 +0000 (19:54 +0100)
commit2813f38e021c6e6581c0c88fcf107e41788bc835
treeb8a6f78b5fe373c594ea6e7719f86b99495de8ee
parentf5465ff5c83f5a8a3e05bec64a0c013e5bdeb46e
patch 8.2.5072: using uninitialized value and freed memory in spell command

Problem:    Using uninitialized value and freed memory in spell command.
Solution:   Initialize "attr".  Check for empty line early.
src/spell.c
src/testdir/test_spell_utf8.vim
src/version.c