]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #2927 in SNORT/snort3 from ~BSACHDEV/snort3:fix_ci_smb to master
authorLokesh Bevinamarad (lbevinam) <lbevinam@cisco.com>
Sun, 6 Jun 2021 15:17:12 +0000 (15:17 +0000)
committerLokesh Bevinamarad (lbevinam) <lbevinam@cisco.com>
Sun, 6 Jun 2021 15:17:12 +0000 (15:17 +0000)
Squashed commit of the following:

commit 0f5b34c33a5fe358754cbf8f696b1e629e7fb365
Author: bsachdev <bsachdev@cisco.com>
Date:   Sat Jun 5 08:25:53 2021 -0400

    dce_rpc: Fixed warnings

Signed-off-by: bsachdev <bsachdev@cisco.com>
src/service_inspectors/dce_rpc/dce_smb2_request.h
src/service_inspectors/dce_rpc/dce_smb2_tree.cc

index 76d496a34b13d9935d372ed779d110742b1aec1b..e224fb84dbdac1cff357e3d20ca7413b52f9bd13 100644 (file)
@@ -49,7 +49,9 @@ public:
     ~Dce2Smb2RequestTracker()
     {
         if (smb_module_is_up)
+        {
             debug_logf(dce_smb_trace, GET_CURRENT_PACKET, "request tracker terminating\n");
+        }
         if (fname)
             snort_free(fname);
     }
index b1f6a1df0893a9518995b1abf5128ace8249d0b2..8fa45c417fa5dd52c502ea795fac94e07bf855b5 100644 (file)
@@ -494,8 +494,10 @@ void Dce2Smb2TreeTracker::process(uint16_t command, uint8_t command_type,
 Dce2Smb2TreeTracker::~Dce2Smb2TreeTracker(void)
 {
     if (smb_module_is_up)
+    {
         debug_logf(dce_smb_trace, GET_CURRENT_PACKET, "tree tracker %" PRIu32 " terminating\n",
             tree_id);
+    }
 
     if (co_tracker != nullptr)
     {