From 96bb67f474242936c029e57be3d4da1365150943 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Sun, 5 Jun 2022 18:23:55 +0200 Subject: [PATCH] smtp: remove defunct check for line with single LF Don't fix it as DATA processing needs all the bytes. --- src/app-layer-smtp.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/app-layer-smtp.c b/src/app-layer-smtp.c index d3b1a18a36..92fc71e9a9 100644 --- a/src/app-layer-smtp.c +++ b/src/app-layer-smtp.c @@ -1124,11 +1124,6 @@ static int SMTPProcessRequest(SMTPState *state, Flow *f, AppLayerParserState *ps SCEnter(); SMTPTransaction *tx = state->curr_tx; - /* Line with just LF */ - if (line->len == 0 && input->consumed == 1 && line->delim_len == 0) { - return 0; // to continue processing further - } - if (state->curr_tx == NULL || (state->curr_tx->done && !NoNewTx(state, line))) { tx = SMTPTransactionCreate(); if (tx == NULL)