changeset 9573:9946c4c33598 v7.4.2064

commit https://github.com/vim/vim/commit/4f5c5f29806e53251b7a7b68ce7de86a21ff8015 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 17 22:25:36 2016 +0200 patch 7.4.2064 Problem: Coverity warns for possible buffer overflow. Solution: Use vim_strcat() instead of strcat().
author Christian Brabandt <cb@256bit.org>
date Sun, 17 Jul 2016 22:30:07 +0200
parents 414afa129098
children 4bf5b0787d22
files src/quickfix.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -2595,7 +2595,7 @@ qf_msg(qf_info_T *qi, int which, char *l
     {
 	while (STRLEN(buf) < 34)
 	    STRCAT(buf, " ");
-	STRCAT(buf, title);
+	vim_strcat(buf, title, IOSIZE);
     }
     trunc_string(buf, buf, Columns - 1, IOSIZE);
     msg(buf);
--- a/src/version.c
+++ b/src/version.c
@@ -759,6 +759,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2064,
+/**/
     2063,
 /**/
     2062,