]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.3006: crash when echoing a value very early v8.2.3006
authorBram Moolenaar <Bram@vim.org>
Tue, 15 Jun 2021 20:39:11 +0000 (22:39 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 15 Jun 2021 20:39:11 +0000 (22:39 +0200)
commita97c36310f90ed15dbf5a2ba5bf91fc906e2e724
treedde2b162d72a2925f7cc90863a9bd324a55b0b36
parentf57b43c230c23117650c956c1f62546a34500fb6
patch 8.2.3006: crash when echoing a value very early

Problem:    Crash when echoing a value very early. (Naruhiko Nishino)
Solution:   Do not use a NUL to truncate the message, make a copy.
            (closes #8388)
src/message.c
src/testdir/test_startup.vim
src/version.c