SMB Open andX extended response decoded incorrectly

Bug: 12472
Change-Id: I94740078631e96980f14ade5df8ae9694c9d73b1
Reviewed-on: https://code.wireshark.org/review/15565
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Gordon Ross 2016-05-25 18:56:33 -04:00 committed by Michael Mann
parent 33103f3fb2
commit 931465257e
1 changed files with 13 additions and 0 deletions

View File

@ -6258,6 +6258,19 @@ dissect_open_andx_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
proto_tree_add_item(tree, hf_smb_reserved, tvb, offset, 2, ENC_NA);
offset += 2;
/* [MS-SMB] 2.2.4.1.2 Server Response Extensions */
if (wc == 19) {
proto_tree *tr = NULL;
tr = proto_tree_add_subtree(tree, tvb, offset, 4,
ett_smb_nt_access_mask, NULL, "Maximal Access Rights");
offset = dissect_smb_access_mask(tvb, tr, offset);
tr = proto_tree_add_subtree(tree, tvb, offset, 4,
ett_smb_nt_access_mask, NULL, "Guest Maximal Access Rights");
offset = dissect_smb_access_mask(tvb, tr, offset);
}
BYTE_COUNT;
END_OF_SMB