# HG changeset patch # User Christian Brabandt # Date 1468787407 -7200 # Node ID 9946c4c335986fbc28bd6e88f7e5a1550fe2560a # Parent 414afa129098007dfb4183a879b16b47c68fb932 commit https://github.com/vim/vim/commit/4f5c5f29806e53251b7a7b68ce7de86a21ff8015 Author: Bram Moolenaar 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(). diff --git a/src/quickfix.c b/src/quickfix.c --- 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); diff --git a/src/version.c b/src/version.c --- 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,