diff options
| author | zhengchao <[email protected]> | 2022-04-27 14:25:15 +0800 |
|---|---|---|
| committer | zhengchao <[email protected]> | 2022-04-27 14:25:15 +0800 |
| commit | d814b4e9eb8c9db49e033f00c3a551c585716e11 (patch) | |
| tree | 3a54801545338775398586e6b5ccf7b836bf0774 | |
| parent | fd88b6a266ec38d8d5663eeb3429a36970cea099 (diff) | |
修复bug:ex_data释放时,使用错误的hash表删除索引。 This fix is related to TSG-10486v3.6.6
| -rw-r--r-- | src/entry/Maat_ex_data.cpp | 4 | ||||
| -rw-r--r-- | 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) { |
