From 010cf1cf5fb018238b38fb4c9829fd6e920a99ba Mon Sep 17 00:00:00 2001 From: peterhuangyu Date: Sun, 4 Feb 2024 11:24:48 +0800 Subject: [PATCH] change valid array size Signed-off-by: peterhuangyu --- plugins/eventlogger/log_catcher/peer_binder_catcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/eventlogger/log_catcher/peer_binder_catcher.cpp b/plugins/eventlogger/log_catcher/peer_binder_catcher.cpp index bca658a52..fa551a2e8 100644 --- a/plugins/eventlogger/log_catcher/peer_binder_catcher.cpp +++ b/plugins/eventlogger/log_catcher/peer_binder_catcher.cpp @@ -199,7 +199,7 @@ void PeerBinderCatcher::BinderInfoParser(std::ifstream& fin, int fd, return ""; }; - if (strList.size() == 7) { // 7: valid array size + if (strList.size() >= 7) { // 7: valid array size BinderInfo info = {0}; OutputBinderInfo outputInfo; // 2: binder peer id, -- Gitee