Netrom: Fix string truncation

Fixes #18532.
This commit is contained in:
João Valverde 2022-10-26 11:50:47 +01:00
parent 0157d74c44
commit 62d6fb85c7
1 changed files with 1 additions and 1 deletions

View File

@ -454,7 +454,7 @@ dissect_netrom_routing(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree_add_item_ret_string_and_length(netrom_tree, hf_netrom_mnemonic, tvb, 1, 6, ENC_ASCII|ENC_NA,
pinfo->pool, &mnemonic, &mnemonic_len);
proto_item_append_text(ti, ", routing table frame, Node: %.6s", mnemonic);
proto_item_append_text(ti, ", routing table frame, Node: %s", mnemonic);
}
next_tvb = tvb_new_subset_remaining(tvb, 7);