]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #2685 in SNORT/snort3 from ~VKAMBALA/snort3:vkambala to master
authorBhargava Jandhyala (bjandhya) <bjandhya@cisco.com>
Thu, 24 Dec 2020 05:48:56 +0000 (05:48 +0000)
committerBhargava Jandhyala (bjandhya) <bjandhya@cisco.com>
Thu, 24 Dec 2020 05:48:56 +0000 (05:48 +0000)
Squashed commit of the following:

commit 76711cb440bcab2b58522e661f99762d22b05b38
Author: krishnakanth <vkambala@cisco.com>
Date:   Tue Dec 22 01:10:13 2020 -0500

    dce_rpc: Handling Flow from File inspection

src/service_inspectors/dce_rpc/dce_smb2_commands.cc

index a7a81672ff8d8eb330806f06c555f413bcba5be8..6645c41ff11b1e1efb78bdb3cf2fe13619a2b26d 100644 (file)
@@ -127,7 +127,7 @@ bool DCE2_Smb2ProcessFileData(DCE2_Smb2SsnData* ssd, const uint8_t* file_data,
     }
 
     if (!file_flows->file_process(p, ssd->ftracker_tcp->file_name_hash, file_data, data_size,
-        ssd->ftracker_tcp->file_offset, dir, ssd->ftracker_tcp->file_id))
+        ssd->ftracker_tcp->file_offset, dir, ssd->ftracker_tcp->file_id) and detection_size)
     {
         debug_logf(dce_smb_trace, p, "file_process completed\n");