From: rcombs Date: Mon, 22 Sep 2014 18:16:56 +0000 (-0400) Subject: valgrid tweaks X-Git-Tag: 3.0.0-233~1404^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0d59d7bb2bdb0282030f35d4d015bd3ef9792d3;p=thirdparty%2Fsnort3.git valgrid tweaks --- diff --git a/src/flow/flow_control.cc b/src/flow/flow_control.cc index 7f2e359d9..b3e0b7f0e 100644 --- a/src/flow/flow_control.cc +++ b/src/flow/flow_control.cc @@ -332,7 +332,9 @@ unsigned FlowControl::process(FlowCache* cache, Packet* p) if ( !flow->flow_state ) { init_roles(p, flow); - InspectorManager::get_binder()->eval(p); + Inspector* b = InspectorManager::get_binder(); + if ( b ) + b->eval(p); ++news; } diff --git a/src/service_inspectors/ftp_telnet/ftpp_ui_config.cc b/src/service_inspectors/ftp_telnet/ftpp_ui_config.cc index 126f8f36d..32585040a 100644 --- a/src/service_inspectors/ftp_telnet/ftpp_ui_config.cc +++ b/src/service_inspectors/ftp_telnet/ftpp_ui_config.cc @@ -54,7 +54,6 @@ FTP_CLIENT_PROTO_CONF::FTP_CLIENT_PROTO_CONF() FTP_CLIENT_PROTO_CONF::~FTP_CLIENT_PROTO_CONF() { ftp_bounce_lookup_cleanup(&bounce_lookup); - max_resp_len = FTPP_UI_CONFIG_FTP_DEF_RESP_MSG_MAX; } FTP_SERVER_PROTO_CONF::FTP_SERVER_PROTO_CONF()