Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--agent/tcf/framework/json.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/agent/tcf/framework/json.c b/agent/tcf/framework/json.c
index 2a5cf9d3..bb642d39 100644
--- a/agent/tcf/framework/json.c
+++ b/agent/tcf/framework/json.c
@@ -855,6 +855,16 @@ static void skip_object(InputStream * inp) {
}
return;
}
+ if (ch == '(') {
+ unsigned long size = json_read_ulong(inp);
+ ch = skip_char(inp);
+ if (ch != ')') exception(ERR_JSON_SYNTAX);
+ while (size) {
+ skip_char(inp);
+ size--;
+ }
+ return;
+ }
exception(ERR_JSON_SYNTAX);
}

Back to the top