mirror of
https://github.com/optim-enterprises-bv/nDPId.git
synced 2025-11-01 18:57:48 +00:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user