From 12439dc8667c91e387921b93d53f524f76bb8055 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sun, 20 Dec 2020 12:07:21 +0100 Subject: [PATCH] Fix Scripter JSON variable lenght issue Fix Scripter JSON variable lenght issue (#10193) --- tasmota/xdrv_10_scripter.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/xdrv_10_scripter.ino b/tasmota/xdrv_10_scripter.ino index be1b33c79..1c87af7a6 100755 --- a/tasmota/xdrv_10_scripter.ino +++ b/tasmota/xdrv_10_scripter.ino @@ -1584,7 +1584,7 @@ float fvar; char *isvar(char *lp, uint8_t *vtype, struct T_INDEX *tind, float *fp, char *sp, JsonParserObject *jo) { uint16_t count,len = 0; uint8_t nres = 0; - char vname[32]; + char vname[64]; float fvar = 0; tind->index = 0; tind->bits.data = 0; @@ -1713,7 +1713,7 @@ char *isvar(char *lp, uint8_t *vtype, struct T_INDEX *tind, float *fp, char *sp, if (jo) { // look for json input - char jvname[32]; + char jvname[64]; strcpy(jvname, vname); const char* str_value; uint8_t aindex;