Fix a couple of format string bugs discovered by Bryan Fulton.

svn path=/trunk/; revision=13793
This commit is contained in:
Gerald Combs 2005-03-17 18:32:36 +00:00
parent 73163bf8c5
commit 023d72fb44

View file

@ -2769,6 +2769,7 @@ elem_clg_party_ascii_num(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint
proto_tree_add_string_format(tree, hf_ansi_a_clg_party_ascii_num,
tvb, curr_offset, len - (curr_offset - offset),
poctets,
"Digits: %s",
poctets);
@ -5308,6 +5309,7 @@ elem_cld_party_ascii_num(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint
proto_tree_add_string_format(tree, hf_ansi_a_cld_party_ascii_num,
tvb, curr_offset, len - (curr_offset - offset),
poctets,
"Digits: %s",
poctets);