diff --git a/epan/sigcomp-udvm.c b/epan/sigcomp-udvm.c index 8b335b730d..f7b75fa79d 100644 --- a/epan/sigcomp-udvm.c +++ b/epan/sigcomp-udvm.c @@ -2705,7 +2705,7 @@ execute_next_instruction: udvm_state_create(sha1buff, sha1_digest_buf, STATE_MIN_ACCESS_LEN); /* end partial state-id change cco@iptel.org */ proto_tree_add_text(udvm_tree,bytecode_tvb, 0, -1,"### Creating state ###"); - proto_tree_add_string(udvm_tree,hf_id, bytecode_tvb, 0, 0, bytes_to_ep_str(sha1_digest_buf, state_minimum_access_length_buff[n])); + proto_tree_add_string(udvm_tree,hf_id, bytecode_tvb, 0, 0, bytes_to_ep_str(sha1_digest_buf, STATE_MIN_ACCESS_LEN)); n++;