rdp: allocate channel name in the file allocator

This commit is contained in:
David Fort 2023-02-10 10:26:30 +01:00 committed by Alexis La Goutte
parent 407ebfbf94
commit 5b90346b6d
1 changed files with 1 additions and 1 deletions

View File

@ -1443,7 +1443,7 @@ dissect_rdp_clientNetworkData(tvbuff_t *tvb, int offset, packet_info *pinfo, pro
if (rdp_info) {
rdp_channel_def_t *channel = &rdp_info->staticChannels[i];
channel->value = -1; /* unset */
channel->strptr = tvb_get_string_enc(pinfo->pool, tvb,
channel->strptr = tvb_get_string_enc(wmem_file_scope(), tvb,
offset, 8, ENC_ASCII);
channel->channelType = find_known_channel_by_name(
channel->strptr);