aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-06-04 20:15:30 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-06-04 20:15:30 +0000
commitf760b2d11ca2eada844d65ca3d2f6b1a09d02d7e (patch)
treef551c53c5e6809873152381aa51b1251869a0255 /packet-dcerpc.c
parent80afd260f580a9911be8ec64c326f8e01cd0e0cd (diff)
bugfix: when saving connectionless DCERPC fragments,
add a hashed activity_id to the sequence number. This will prevent missdissected fragments. svn path=/trunk/; revision=11111
Diffstat (limited to 'packet-dcerpc.c')
-rw-r--r--packet-dcerpc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/packet-dcerpc.c b/packet-dcerpc.c
index 548a6fa1bd..4645382795 100644
--- a/packet-dcerpc.c
+++ b/packet-dcerpc.c
@@ -3,7 +3,7 @@
* Copyright 2001, Todd Sabin <tas@webspan.net>
* Copyright 2003, Tim Potter <tpot@samba.org>
*
- * $Id: packet-dcerpc.c,v 1.176 2004/05/29 04:34:51 guy Exp $
+ * $Id: packet-dcerpc.c,v 1.177 2004/06/04 20:15:30 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -3788,7 +3788,9 @@ dissect_dcerpc_dg_stub (tvbuff_t *tvb, int offset, packet_info *pinfo,
}
fd_head = fragment_add_seq(tvb, offset, pinfo,
- hdr->seqnum, dcerpc_cl_reassemble_table,
+ /* XXX - simply adding the activity id to the sequence number might be unique enough
+ * to build a meaningful hash value here?! */
+ hdr->seqnum + dcerpc_uuid_hash(&hdr->act_id), dcerpc_cl_reassemble_table,
hdr->frag_num, stub_length,
!(hdr->flags1 & PFCL1_LASTFRAG));
if (fd_head != NULL) {