From 8205efb1b3d4fb1b9ba667fb859ebaa8809492f6 Mon Sep 17 00:00:00 2001 From: zhengchao Date: Mon, 20 Apr 2020 16:56:51 +0800 Subject: [PATCH] =?UTF-8?q?scan=5Fhit=5Fstatus=5Fupdate=5Fby=5Fcompile?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E7=9A=84=E5=BE=AA=E7=8E=AF=E4=B8=AD=EF=BC=8C?= =?UTF-8?q?=E6=9C=AA=E9=87=8D=E7=BD=AEn=5Fexsited=5Fpath=EF=BC=8C=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E4=B8=A2=E5=A4=B1=E5=91=BD=E4=B8=AD=E7=9A=84compile?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entry/Maat_api.cpp | 1 + src/entry/Maat_rule.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/entry/Maat_api.cpp b/src/entry/Maat_api.cpp index c04d262..c8122a6 100644 --- a/src/entry/Maat_api.cpp +++ b/src/entry/Maat_api.cpp @@ -318,6 +318,7 @@ size_t scan_hit_status_update_by_compile(struct scan_hit_status* hit_status, str { TAILQ_FOREACH(p, &hit_status->hit_path_qhead, entries) { + n_exsited_path=0; if(TO_RELATION_ID(p->path.virtual_table_id, p->path.top_group_id)==a_set.items[i].item_id && p->path.compile_id!=compile_rule->compile_id) { diff --git a/src/entry/Maat_rule.cpp b/src/entry/Maat_rule.cpp index 0adf775..b6aaca5 100644 --- a/src/entry/Maat_rule.cpp +++ b/src/entry/Maat_rule.cpp @@ -33,7 +33,7 @@ #include "stream_fuzzy_hash.h" #include "gram_index_engine.h" -int MAAT_FRAME_VERSION_2_8_20200403=1; +int MAAT_FRAME_VERSION_2_8_20200420=1; int is_valid_table_name(const char* str) {