]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
valgrid tweaks
authorrcombs <rcombs@sq18.sfeng.sourcefire.com>
Mon, 22 Sep 2014 18:16:56 +0000 (14:16 -0400)
committerrcombs <rcombs@sq18.sfeng.sourcefire.com>
Mon, 22 Sep 2014 18:16:56 +0000 (14:16 -0400)
src/flow/flow_control.cc
src/service_inspectors/ftp_telnet/ftpp_ui_config.cc

index 7f2e359d91c4f68cc07bc7191a50720160edff3d..b3e0b7f0e45b981ec748c3f765ba869cf7d7fe83 100644 (file)
@@ -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;
     }
 
index 126f8f36ddefbaa4453d2d28ca98c6f2629729cc..32585040a100169b8986be249095d7de8cd636bf 100644 (file)
@@ -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()