diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-01-03 11:50:00 +0100 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-01-31 16:36:25 +0000 |
commit | 505af30e0156e1ac3db7a411127084d1bca4c0ad (patch) | |
tree | 569efde1b8b26ef0b27b45b03808eec42c15a182 /epan/dissectors/packet-smb.c | |
parent | 3d59ff9e95aab13cadd046afcc36cb8c290b6e62 (diff) |
packet-smb.c: real fix for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5778
Change-Id: I33308c44791b487844f23db07d152897380d7cf1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/25
Reviewed-by: Evan Huus <eapache@gmail.com>
Tested-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-smb.c')
-rw-r--r-- | epan/dissectors/packet-smb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-smb.c b/epan/dissectors/packet-smb.c index 22b1760c28..4e7b7dc3c9 100644 --- a/epan/dissectors/packet-smb.c +++ b/epan/dissectors/packet-smb.c @@ -15735,8 +15735,8 @@ dissect_qfsi_vals(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, proto_tree_add_uint(tree, hf_smb_volume_label_len, tvb, offset, 1, tvb_get_guint8(tvb, offset)); COUNT_BYTES_TRANS_SUBR(1); - /* label */ - fn = get_unicode_or_ascii_string(tvb, &offset, si->unicode, &fn_len, FALSE, FALSE, bcp); + /* label - not aligned! */ + fn = get_unicode_or_ascii_string(tvb, &offset, si->unicode, &fn_len, TRUE, FALSE, bcp); CHECK_STRING_TRANS_SUBR(fn); proto_tree_add_string(tree, hf_smb_volume_label, tvb, offset, fn_len, fn); |