aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb2.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2010-02-04 23:14:21 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2010-02-04 23:14:21 +0000
commit7fcf9485e0f2737f1673dc1bc6ca6a682c249645 (patch)
tree05d1a7ed6bf2fe0d2e55ff087b965c5a90632ac9 /epan/dissectors/packet-smb2.c
parenta06266a9837cb031fb12c43a3fa59ece286c066d (diff)
From Metze
Subject: [PATCH 2/7] packet-smb2.c: fix handling of compounded SMB2 PDUs svn path=/trunk/; revision=31793
Diffstat (limited to 'epan/dissectors/packet-smb2.c')
-rw-r--r--epan/dissectors/packet-smb2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-smb2.c b/epan/dissectors/packet-smb2.c
index 64c55d52ca..d32d31ca1f 100644
--- a/epan/dissectors/packet-smb2.c
+++ b/epan/dissectors/packet-smb2.c
@@ -5455,9 +5455,6 @@ dissect_smb2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolea
if (chain_offset > 0) {
tvbuff_t *next_tvb;
- if (chain_offset < offset) {
- THROW(ReportedBoundsError);
- }
proto_item_set_len(item, chain_offset);
next_tvb = tvb_new_subset_remaining(tvb, chain_offset);