From ff4d1a412191886b2400bca273d1d12e29fac5bf Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Wed, 21 May 2025 10:50:15 -0700 Subject: [PATCH] Remove setting unused variable value in FTP::parse_eftp --- src/analyzer/protocol/ftp/functions.bif | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/analyzer/protocol/ftp/functions.bif b/src/analyzer/protocol/ftp/functions.bif index 62cd318098..235cb630ab 100644 --- a/src/analyzer/protocol/ftp/functions.bif +++ b/src/analyzer/protocol/ftp/functions.bif @@ -76,10 +76,7 @@ static zeek::RecordValPtr parse_eftp(const char* line) { const char* nptr = strchr(line, delimiter); if ( nptr == NULL ) - { nptr = line + strlen(line); - good = false; - } std::string s(line, nptr-line); // extract IP address struct in6_addr result;