sp: on subkeys, validate next value is a map
@@ -714,7 +714,10 @@ static int subkey_to_value(struct flb_exp_key *ekey, msgpack_object *map,
}
key_found = &key;
+
+ if (val.type == MSGPACK_OBJECT_MAP) {
cur_map = val;
+ }
matched++;
break;
}
