]> granicus.if.org Git - vim/commit
patch 8.1.0325: strings in swap file may not be NUL terminated v8.1.0325
authorBram Moolenaar <Bram@vim.org>
Thu, 23 Aug 2018 21:01:27 +0000 (23:01 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 23 Aug 2018 21:01:27 +0000 (23:01 +0200)
commit7c60505e1012a43549c2c075c27463c5399e81ec
tree36b176ac078850fc1b5d88445e9bff976fbe7ce4
parent74c8be2c6803eda3a57991b8867c5c65259b73d6
patch 8.1.0325: strings in swap file may not be NUL terminated

Problem:    Strings in swap file may not be NUL terminated. (Coverity)
Solution:   Limit the length of the used string.
src/memline.c
src/version.c