updated for version 7.0-175
diff --git a/src/eval.c b/src/eval.c
index 53ebc78..f9177b3 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -16073,6 +16073,10 @@
 	}
     }
 
+    /* add a terminating NUL */
+    ga_grow(&ga, 1);
+    ga_append(&ga, NUL);
+
     rettv->vval.v_string = ga.ga_data;
 }