summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhengchao <[email protected]>2022-04-27 14:25:15 +0800
committerzhengchao <[email protected]>2022-04-27 14:25:15 +0800
commitd814b4e9eb8c9db49e033f00c3a551c585716e11 (patch)
tree3a54801545338775398586e6b5ccf7b836bf0774
parentfd88b6a266ec38d8d5663eeb3429a36970cea099 (diff)
修复bug:ex_data释放时,使用错误的hash表删除索引。 This fix is related to TSG-10486v3.6.6
-rw-r--r--src/entry/Maat_ex_data.cpp4
-rw-r--r--src/entry/Maat_rule.cpp2
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)
{