aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-03-20 07:55:51 +0000
committerGuy Harris <guy@alum.mit.edu>2002-03-20 07:55:51 +0000
commitb25cfdba754a695c5817acc5082b1677e90c7fac (patch)
tree983f067fed1b9c74bae173fe7ed4c155146cfbbd /packet-smb.c
parent3c012e8e6e227950b9e3e80506472385e961fad5 (diff)
downloadwireshark-b25cfdba754a695c5817acc5082b1677e90c7fac.tar.gz
wireshark-b25cfdba754a695c5817acc5082b1677e90c7fac.tar.bz2
wireshark-b25cfdba754a695c5817acc5082b1677e90c7fac.zip
When dissecting an SID with more than 4 authorities, increment the
offset to go past the last authority (the RID). svn path=/trunk/; revision=4991
Diffstat (limited to 'packet-smb.c')
-rw-r--r--packet-smb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-smb.c b/packet-smb.c
index 6a64536ced..18683df347 100644
--- a/packet-smb.c
+++ b/packet-smb.c
@@ -3,7 +3,7 @@
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
* 2001 Rewrite by Ronnie Sahlberg and Guy Harris
*
- * $Id: packet-smb.c,v 1.233 2002/03/20 06:51:14 guy Exp $
+ * $Id: packet-smb.c,v 1.234 2002/03/20 07:55:51 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -6644,6 +6644,7 @@ dissect_nt_sid(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent
rid = tvb_get_letohl(tvb, offset);
proto_tree_add_text(tree, tvb, offset, 4, "RID: %u", rid);
proto_item_append_text(item, ": S-1-%u-%s-%u", auth, gstr->str, rid);
+ offset+=4;
}
else {
proto_item_append_text(item, ": S-1-%u-%s", auth, gstr->str);