nDPIsrvd.h: Fixed bug during token parsing/hashing. Do not hash array contents.

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig
2022-09-23 00:13:19 +02:00
parent 9a28475bba
commit 36f1786bde
166 changed files with 1206 additions and 1192 deletions

View File

@@ -457,10 +457,14 @@ static enum nDPIsrvd_callback_return captured_json_callback(struct nDPIsrvd_sock
(void)sock;
(void)instance;
(void)thread_data;
(void)flow;
struct nDPIsrvd_json_token const * const flow_event_name = TOKEN_GET_SZ(sock, "flow_event_name");
struct flow_user_data * const flow_user_data = (struct flow_user_data *)flow->flow_user_data;
struct flow_user_data * flow_user_data = NULL;
if (flow != NULL)
{
flow_user_data = (struct flow_user_data *)flow->flow_user_data;
}
if (flow_user_data != NULL)
{