From: Bram Moolenaar Date: Sun, 17 Jul 2016 20:25:36 +0000 (+0200) Subject: patch 7.4.2064 X-Git-Tag: v7.4.2064 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f5c5f29806e53251b7a7b68ce7de86a21ff8015;p=vim patch 7.4.2064 Problem: Coverity warns for possible buffer overflow. Solution: Use vim_strcat() instead of strcat(). --- diff --git a/src/quickfix.c b/src/quickfix.c index b2b6e8e29..3794e6ab0 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -2595,7 +2595,7 @@ qf_msg(qf_info_T *qi, int which, char *lead) { while (STRLEN(buf) < 34) STRCAT(buf, " "); - STRCAT(buf, title); + vim_strcat(buf, title, IOSIZE); } trunc_string(buf, buf, Columns - 1, IOSIZE); msg(buf); diff --git a/src/version.c b/src/version.c index e46a13f60..e1fcacac2 100644 --- a/src/version.c +++ b/src/version.c @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2064, /**/ 2063, /**/