Mercurial > vim
comparison src/version.c @ 14623:b8daa070473b v8.1.0325
patch 8.1.0325: strings in swap file may not be NUL terminated
commit https://github.com/vim/vim/commit/7c60505e1012a43549c2c075c27463c5399e81ec
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 23 23:01:27 2018 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 23 Aug 2018 23:15:04 +0200 |
parents | 89cc3e7ecb68 |
children | cd3f0987c0bc |
comparison
equal
deleted
inserted
replaced
14622:d6eed9f439d7 | 14623:b8daa070473b |
---|---|
792 NULL | 792 NULL |
793 }; | 793 }; |
794 | 794 |
795 static int included_patches[] = | 795 static int included_patches[] = |
796 { /* Add new patch number below this line */ | 796 { /* Add new patch number below this line */ |
797 /**/ | |
798 325, | |
797 /**/ | 799 /**/ |
798 324, | 800 324, |
799 /**/ | 801 /**/ |
800 323, | 802 323, |
801 /**/ | 803 /**/ |