diff --git a/src/strings.c b/src/strings.c index 37f52fe248..b47422c114 100644 --- a/src/strings.c +++ b/src/strings.c @@ -2849,6 +2849,9 @@ vim_snprintf_safelen(char *str, size_t str_m, const char *fmt, ...) va_list ap; int str_l; + if (str_m == 0) + return 0; + va_start(ap, fmt); str_l = vim_vsnprintf_typval(str, str_m, fmt, ap, NULL); va_end(ap); diff --git a/src/version.c b/src/version.c index a542cb79d6..de8f408dd3 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 233, /**/ 232, /**/