]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.1467: libvterm doesn't handle illegal byte sequence correctly v8.0.1467
authorBram Moolenaar <Bram@vim.org>
Sun, 4 Feb 2018 13:49:57 +0000 (14:49 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 4 Feb 2018 13:49:57 +0000 (14:49 +0100)
commitfef4ddd5eb8816a6607a624aa401bcfa71a63def
treee5c631418b3d9826cb69b0feee3ac8e280b284a0
parent06b77ef69f252e1ba8a2136dcbed6622bc2371bb
patch 8.0.1467: libvterm doesn't handle illegal byte sequence correctly

Problem:    Libvterm doesn't handle illegal byte sequence correctly.
Solution:   After the invalid code check if there is space to store another
            character.  Allocate one more character. (zhykzhykzhyk, closes
            #2614, closes #2613)
src/libvterm/src/encoding.c
src/libvterm/src/state.c
src/version.c