diff --git a/src/buffer.c b/src/buffer.c index 0a2ce8ec96..5998523219 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -3058,7 +3058,7 @@ fileinfo(fullname, shorthelp, dont_truncate) *p++ = '"'; if (buf_spname(curbuf) != NULL) - STRCPY(p, buf_spname(curbuf)); + vim_strncpy(p, buf_spname(curbuf), IOSIZE - (p - buffer) - 1); else { if (!fullname && curbuf->b_fname != NULL) diff --git a/src/version.c b/src/version.c index fff0079c27..1798f053c2 100644 --- a/src/version.c +++ b/src/version.c @@ -719,6 +719,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 675, /**/ 674, /**/