In the columns list in a results token, columns with a type of 106

appear to have 3 extra bytes of stuff before the column name.

svn path=/trunk/; revision=10119
This commit is contained in:
Guy Harris 2004-02-20 08:40:30 +00:00
parent 3b1a2d094f
commit 0f1b525563
1 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,7 @@
* Copyright 2000-2002, Brian Bruns <camber@ais.org>
* Copyright 2002, Steve Langasek <vorlon@netexpress.net>
*
* $Id: packet-tds.c,v 1.26 2004/02/18 04:41:37 jmayer Exp $
* $Id: packet-tds.c,v 1.27 2004/02/20 08:40:30 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -1063,6 +1063,10 @@ dissect_tds7_results_token(tvbuff_t *tvb, guint offset, proto_tree *tree)
offset += table_len*2;
}
}
else if (type == 106) {
proto_tree_add_text(tree, tvb, offset, 3, "unknown 3 bytes");
offset +=3;
}
if(type > 128) {
proto_tree_add_text(tree, tvb, offset, 2, "Large type size: 0x%x", tvb_get_letohs(tvb, offset));
offset += 2;