diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-08-27 23:17:30 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-08-27 23:17:30 +0000 |
commit | 0597c7c325cfad78edd8ae895e53c50f55eb9a52 (patch) | |
tree | f4ce5fadff7fada0fb2bda6703be8822a1728ba9 /packet-smb.c | |
parent | 431fd7df700f6d09901442d76299f9661ec2c1d8 (diff) |
Put in a comment noting that the "Service" string in a Tree Connect and
X reply is always in ASCII.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3877 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-smb.c')
-rw-r--r-- | packet-smb.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packet-smb.c b/packet-smb.c index bdb0e8b243..db62791dd5 100644 --- a/packet-smb.c +++ b/packet-smb.c @@ -2,7 +2,7 @@ * Routines for smb packet dissection * Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com> * - * $Id: packet-smb.c,v 1.110 2001/08/27 20:15:30 guy Exp $ + * $Id: packet-smb.c,v 1.111 2001/08/27 23:17:30 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -3802,7 +3802,6 @@ dissect_tcon_andx_smb(const u_char *pd, int offset, frame_data *fd, proto_tree * proto_tree_add_text(optionsup_tree, NullTVB, offset, 2, "%s", decode_boolean_bitfield(optionsup, 0x0002, 16, "Share is in DFS", "Share isn't in DFS")); - } offset += 2; @@ -3817,6 +3816,11 @@ dissect_tcon_andx_smb(const u_char *pd, int offset, frame_data *fd, proto_tree * offset += 2; + /* + * NOTE: the Service string is always ASCII, even if the "strings are + * Unicode" bit is set in the flags2 field of the SMB. + */ + str = pd + offset; if (tree) { |