summaryrefslogtreecommitdiff
path: root/scanner/expr_matcher
diff options
context:
space:
mode:
author刘文坛 <[email protected]>2023-11-28 02:16:07 +0000
committer刘文坛 <[email protected]>2023-11-28 02:16:07 +0000
commit2773be9b95d86ac5f2f3f40c4382ccb59953d519 (patch)
treee3ef99a55e2654c89db920797d24e2b20b1fb29d /scanner/expr_matcher
parent7568d4e2b9f2bf4ea4540731eb35d9395ca1c28b (diff)
[FEATURE] one clause support multi literal{vtable_id, group_id_array}v4.1.11
Diffstat (limited to 'scanner/expr_matcher')
-rw-r--r--scanner/expr_matcher/adapter_hs/adapter_hs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scanner/expr_matcher/adapter_hs/adapter_hs.cpp b/scanner/expr_matcher/adapter_hs/adapter_hs.cpp
index fc0a2b5..0140b7a 100644
--- a/scanner/expr_matcher/adapter_hs/adapter_hs.cpp
+++ b/scanner/expr_matcher/adapter_hs/adapter_hs.cpp
@@ -739,7 +739,7 @@ int hs_build_lit_db(void **hs_lit_db, void *compile_data, struct log_handle *log
NULL, (hs_database_t **)hs_lit_db, &compile_err);
if (err != HS_SUCCESS) {
if (compile_err) {
- log_error(logger, MODULE_ADAPTER_HS, "[%s:%d] compile error: %s",
+ log_fatal(logger, MODULE_ADAPTER_HS, "[%s:%d] compile error: %s",
__FUNCTION__, __LINE__, compile_err->message);
}
@@ -766,7 +766,7 @@ int hs_build_regex_db(void **hs_regex_db, void *compile_data, struct log_handle
&compile_err);
if (err != HS_SUCCESS) {
if (compile_err) {
- log_error(logger, MODULE_ADAPTER_HS, "[%s:%d] compile error: %s",
+ log_fatal(logger, MODULE_ADAPTER_HS, "[%s:%d] compile error: %s",
__FUNCTION__, __LINE__, compile_err->message);
}
hs_free_compile_error(compile_err);