]> granicus.if.org Git - vim/commit
patch 8.0.1503: access memory beyond end of string v8.0.1503
authorBram Moolenaar <Bram@vim.org>
Sun, 11 Feb 2018 14:38:40 +0000 (15:38 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 11 Feb 2018 14:38:40 +0000 (15:38 +0100)
commitcdd09aa51a8d34bb384460af4f91026dbff5bf48
tree8416a232117bb1557db7eff8b4bb48bd504a521c
parent71a43c01377cb0c5cdc5f2d9a357b5ef1aa69ee3
patch 8.0.1503: access memory beyond end of string

Problem:    Access memory beyond end of string. (Coverity)
Solution:   Keep allocated memory in separate pointer.  Avoid outputting the
            NUL character.
src/hardcopy.c
src/version.c