From d814b4e9eb8c9db49e033f00c3a551c585716e11 Mon Sep 17 00:00:00 2001 From: zhengchao Date: Wed, 27 Apr 2022 14:25:15 +0800 Subject: 修复bug:ex_data释放时,使用错误的hash表删除索引。 This fix is related to TSG-10486 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entry/Maat_ex_data.cpp | 4 ++-- src/entry/Maat_rule.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/entry/Maat_ex_data.cpp b/src/entry/Maat_ex_data.cpp index e2b7915..6f6dded 100644 --- a/src/entry/Maat_ex_data.cpp +++ b/src/entry/Maat_ex_data.cpp @@ -98,9 +98,9 @@ void EX_data_rt_free(struct EX_data_rt* ex_rt) } else { - HASH_ITER(hh_b, ex_rt->hash_key2ex_a, ex_container, tmp) + HASH_ITER(hh_b, ex_rt->hash_key2ex_b, ex_container, tmp) { - HASH_DELETE(hh_b, ex_rt->hash_key2ex_a, ex_container); + HASH_DELETE(hh_b, ex_rt->hash_key2ex_b, ex_container); EX_data_container_free(ex_container); } diff --git a/src/entry/Maat_rule.cpp b/src/entry/Maat_rule.cpp index 05e67d9..833a3f2 100644 --- a/src/entry/Maat_rule.cpp +++ b/src/entry/Maat_rule.cpp @@ -57,7 +57,7 @@ extern "C" } #endif -int MAAT_FRAME_VERSION_3_6_5_20220426=1; +int MAAT_FRAME_VERSION_3_6_6_20220427=1; int is_valid_table_name(const char* str) { -- cgit v1.2.3