1 parent dd600d0 commit e560db9Copy full SHA for e560db9
1 file changed
src/detect-ftp-dynamic-port.c
@@ -87,6 +87,8 @@ static int DetectFtpDynamicPortMatch(DetectEngineThreadCtx *det_ctx, Flow *f, ui
87
FTPTransaction *tx = (FTPTransaction *)txv;
88
if (tx->command_descriptor.command_code == FTP_COMMAND_UNKNOWN)
89
return 0;
90
+ if (tx->dyn_port == 0)
91
+ return 0;
92
93
const DetectU16Data *ftpd = (const DetectU16Data *)ctx;
94
0 commit comments