From 9b777e486291cd431b5abb105cf305aba754c0bf Mon Sep 17 00:00:00 2001 From: youmetme <321640253@qq.com> Date: Thu, 21 Nov 2024 16:00:49 +0800 Subject: [PATCH] fix --- src/interceptor/logging-interceptor-substr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/interceptor/logging-interceptor-substr.c b/src/interceptor/logging-interceptor-substr.c index b6c2e13..912bafc 100644 --- a/src/interceptor/logging-interceptor-substr.c +++ b/src/interceptor/logging-interceptor-substr.c @@ -66,6 +66,7 @@ static bool _disposeSubstring(log_Interceptor *interceptor, if (level <= interceptor->level) return true; return false; + } while (keyword != NULL && level <= interceptor->level) { if (kmp_search(keyword->key, (char *)message))