From e834b5ad007fefc318657083ee7d0662766b7d21 Mon Sep 17 00:00:00 2001 From: fengweihao Date: Mon, 26 Feb 2024 16:08:06 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=E4=BF=AE=E5=A4=8D=E8=AF=B7=E6=B1=82Cond?= =?UTF-8?q?ition=E4=B8=AD=E5=90=AB=E6=9C=89Protocol=E6=88=96=E8=80=85Tunne?= =?UTF-8?q?l=E6=97=B6=EF=BC=8C=E5=A4=8D=E5=88=B6Json=E7=9A=84Object?= =?UTF-8?q?=E7=9A=84=E5=AF=B9=E8=B1=A1=E6=B2=A1=E6=9C=89=E9=87=8A=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform/src/verify_matcher.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/platform/src/verify_matcher.cpp b/platform/src/verify_matcher.cpp index 6d25a41..dc96fa1 100644 --- a/platform/src/verify_matcher.cpp +++ b/platform/src/verify_matcher.cpp @@ -1105,6 +1105,10 @@ void http_get_scan_status(struct request_query_obj *query_obj, int compile_table if(query_obj->table_id == TSG_OBJ_IP_PROTOCOL) { + if(query_obj->attributes) + { + cJSON_Delete(query_obj->attributes); + } return; } @@ -1118,6 +1122,10 @@ void http_get_scan_status(struct request_query_obj *query_obj, int compile_table { if(0 == strcasecmp(item->valuestring, "tunnel_endpointa")) { + if(query_obj->attributes) + { + cJSON_Delete(query_obj->attributes); + } return; } }