From: Philippe Antoine Date: Sat, 19 Apr 2025 19:27:01 +0000 (+0200) Subject: ftp: mark tx as updated when creating it X-Git-Tag: suricata-8.0.0-rc1~439 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f24d3ffb74055b1bd1bc6eed0feeb0261a5cad78;p=thirdparty%2Fsuricata.git ftp: mark tx as updated when creating it Ticket: 7668 We should set updated_tx when allocating a ftp tx Was already done right for updated_tc --- diff --git a/src/app-layer-ftp.c b/src/app-layer-ftp.c index 31cdd1e146..ef2aa0eaa4 100644 --- a/src/app-layer-ftp.c +++ b/src/app-layer-ftp.c @@ -450,6 +450,7 @@ static AppLayerResult FTPParseRequest(Flow *f, void *ftp_state, AppLayerParserSt FTPTransaction *tx = FTPTransactionCreate(state); if (unlikely(tx == NULL)) SCReturnStruct(APP_LAYER_ERROR); + tx->tx_data.updated_ts = true; state->curr_tx = tx; tx->command_descriptor = cmd_descriptor;