]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.2515: memory access error when truncating an empty message v8.2.2515
authorBram Moolenaar <Bram@vim.org>
Sun, 14 Feb 2021 14:37:30 +0000 (15:37 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 14 Feb 2021 14:37:30 +0000 (15:37 +0100)
commit6281815eccc3ded54960f7798833ceb39561b9a0
tree72c092d24c42b3e01f2dc184ba05c71e61bddf3a
parent2379f87eb48a4ee6a1d0fc7df964e12a3efe4fd5
patch 8.2.2515: memory access error when truncating an empty message

Problem:    Memory access error when truncating an empty message.
Solution:   Check for an empty string. (Dominique PellĂ©, closes #7841)
src/message.c
src/message_test.c
src/version.c