aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rdp_drdynvc.c
diff options
context:
space:
mode:
authorDavid Fort <contact@hardening-consulting.com>2021-09-09 15:14:38 +0200
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-09-09 15:37:54 +0000
commitd46e31a48aff9aa270d1032f66f215b54bbe78f6 (patch)
tree4dc2fa0577ef3a6b9e7c2f9bb755fe27a07774d3 /epan/dissectors/packet-rdp_drdynvc.c
parent0da1babbb355dcd2291a882fbd9f29a366f42304 (diff)
rdp_drdynvc: fix channel name displaying in SOFT_SYNC_REQUEST
Diffstat (limited to 'epan/dissectors/packet-rdp_drdynvc.c')
-rw-r--r--epan/dissectors/packet-rdp_drdynvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rdp_drdynvc.c b/epan/dissectors/packet-rdp_drdynvc.c
index c514e15094..215b4f599f 100644
--- a/epan/dissectors/packet-rdp_drdynvc.c
+++ b/epan/dissectors/packet-rdp_drdynvc.c
@@ -425,7 +425,7 @@ dissect_rdp_drdynvc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree,
proto_tree_add_item(dvc_tree, hf_rdp_drdynvc_softsync_req_channel_dvcid, tvb, offset, 4, ENC_LITTLE_ENDIAN);
if (label) {
- proto_item *pi = proto_tree_add_item(dvc_tree, hf_rdp_drdynvc_channelName, tvb, offset, -1, ENC_ASCII|ENC_NA);
+ proto_item *pi = proto_tree_add_string_format(dvc_tree, hf_rdp_drdynvc_channelName, tvb, offset, 4, label, "%s", label);
proto_item_set_generated(pi);
}
}