aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ntlmssp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-09-01 00:01:39 +0000
committerGuy Harris <guy@alum.mit.edu>2003-09-01 00:01:39 +0000
commit9f62e50a7d29a9f24ab153bc845c6c50b19cf97f (patch)
treeb1c9e54dbdb9c985cfa5bbdcca06b4357a7c5875 /packet-ntlmssp.c
parent3d6f1d76e785c95717fd46f776563d5d81af56f3 (diff)
From Devin Heitmueller: make offsets into tvbuffs 32-bit.
svn path=/trunk/; revision=8326
Diffstat (limited to 'packet-ntlmssp.c')
-rw-r--r--packet-ntlmssp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/packet-ntlmssp.c b/packet-ntlmssp.c
index dd22895bed..6abb2c9bfe 100644
--- a/packet-ntlmssp.c
+++ b/packet-ntlmssp.c
@@ -3,7 +3,7 @@
* Devin Heitmueller <dheitmueller@netilla.com>
* Copyright 2003, Tim Potter <tpot@samba.org>
*
- * $Id: packet-ntlmssp.c,v 1.43 2003/08/24 01:29:50 sahlberg Exp $
+ * $Id: packet-ntlmssp.c,v 1.44 2003/09/01 00:01:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -587,7 +587,7 @@ dissect_ntlmssp_address_list (tvbuff_t *tvb, int offset,
guint16 list_maxlen = tvb_get_letohs(tvb, offset+2);
guint32 list_offset = tvb_get_letohl(tvb, offset+4);
guint16 item_type, item_length;
- guint16 item_offset;
+ guint32 item_offset;
proto_item *tf = NULL;
proto_tree *tree = NULL;
proto_item *addr_tf = NULL;
@@ -622,10 +622,10 @@ dissect_ntlmssp_address_list (tvbuff_t *tvb, int offset,
while (item_offset < (list_offset + list_length)) {
const char *text=NULL;
- guint16 content_offset;
+ guint32 content_offset;
guint16 content_length;
- guint16 type_offset;
- guint16 len_offset;
+ guint32 type_offset;
+ guint32 len_offset;
/* Content type */
type_offset = item_offset;