]> granicus.if.org Git - vim/commit
patch 8.2.5097: using uninitialized memory when using 'listchars' v8.2.5097
authorBram Moolenaar <Bram@vim.org>
Wed, 15 Jun 2022 11:12:44 +0000 (12:12 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 15 Jun 2022 11:12:44 +0000 (12:12 +0100)
commit74ac29cecd56457ee93f3f71b31b7a2e6d9712d6
treea76e393ca6777a1b7c940dff809f5f9f319a91ee
parent377d92a912d4d11a336322a6eeff128cf8ebb5fa
patch 8.2.5097: using uninitialized memory when using 'listchars'

Problem:    Using uninitialized memory when using 'listchars'.
Solution:   Use the length returned by mb_char2bytes(). (closes #10576)
src/message.c
src/version.c