diff options
author | pascal <pascal@localhost> | 2012-05-05 04:57:40 +0000 |
---|---|---|
committer | pascal <pascal@localhost> | 2012-05-05 04:57:40 +0000 |
commit | 48f4ae6e3b21025a228813168671b3cf13e5e968 (patch) | |
tree | d79028e637bcd3ce89f4c1a1aa673e51b9d3b077 /plugins/opcua/opcua_simpletypes.c | |
parent | 1fc695a0224e7b4d19cca7ac8458a429c1450003 (diff) | |
download | wireshark-48f4ae6e3b21025a228813168671b3cf13e5e968.tar.gz |
From Nhi Nguyen:
OPC UA bytestring node id decoding is wrong
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7226
svn path=/trunk/; revision=42437
Diffstat (limited to 'plugins/opcua/opcua_simpletypes.c')
-rw-r--r-- | plugins/opcua/opcua_simpletypes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/opcua/opcua_simpletypes.c b/plugins/opcua/opcua_simpletypes.c index 0c5f873531..3ce99e75f2 100644 --- a/plugins/opcua/opcua_simpletypes.c +++ b/plugins/opcua/opcua_simpletypes.c @@ -814,8 +814,8 @@ void parseNodeId(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, const char *szF parseGuid(subtree, tvb, &iOffset, hf_opcua_Guid); break; case 0x05: /* byte string */ - proto_tree_add_item(subtree, hf_opcua_nodeid_nsid, tvb, iOffset, 4, ENC_LITTLE_ENDIAN); - iOffset+=4; + proto_tree_add_item(subtree, hf_opcua_nodeid_nsid, tvb, iOffset, 2, ENC_LITTLE_ENDIAN); + iOffset+=2; parseByteString(subtree, tvb, &iOffset, hf_opcua_ByteString); break; }; |