patch 7.4.1446
Problem: Crash when using json_decode().
Solution: Terminate string with a NUL byte.
diff --git a/src/json.c b/src/json.c
index d501928..cf887e5 100644
--- a/src/json.c
+++ b/src/json.c
@@ -659,6 +659,7 @@
++reader->js_used;
if (res != NULL)
{
+ ga_append(&ga, NUL);
res->v_type = VAR_STRING;
#if defined(FEAT_MBYTE) && defined(USE_ICONV)
if (!enc_utf8)
diff --git a/src/version.c b/src/version.c
index ffb2804..d13cfb7 100644
--- a/src/version.c
+++ b/src/version.c
@@ -744,6 +744,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1446,
+/**/
1445,
/**/
1444,