diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2010-02-04 23:14:21 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2010-02-04 23:14:21 +0000 |
commit | 7fcf9485e0f2737f1673dc1bc6ca6a682c249645 (patch) | |
tree | 05d1a7ed6bf2fe0d2e55ff087b965c5a90632ac9 /epan/dissectors/packet-smb2.c | |
parent | a06266a9837cb031fb12c43a3fa59ece286c066d (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.c | 3 |
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); |