diff --git a/src/version.c b/src/version.c index 545b6354d0..fe4e418107 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1075, /**/ 1074, /**/ diff --git a/src/vim9expr.c b/src/vim9expr.c index b76544869c..58ff395f9e 100644 --- a/src/vim9expr.c +++ b/src/vim9expr.c @@ -796,7 +796,7 @@ compile_load( int outer_loop_depth = -1; int outer_loop_idx = -1; - name = vim_strnsave(*arg, end - *arg); + name = vim_strnsave(*arg, len); if (name == NULL) return FAIL;