diff options
author | Gerald Combs <gerald@wireshark.org> | 2005-03-17 18:32:36 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2005-03-17 18:32:36 +0000 |
commit | 023d72fb4400c8592ea2f788711f1127cacf7b09 (patch) | |
tree | 1d63bca90133d96a9ed4001741c8c54ebc692a96 /epan/dissectors/packet-ansi_a.c | |
parent | 73163bf8c5b0b2b12e653bdb47a50480c14cad85 (diff) |
Fix a couple of format string bugs discovered by Bryan Fulton.
svn path=/trunk/; revision=13793
Diffstat (limited to 'epan/dissectors/packet-ansi_a.c')
-rw-r--r-- | epan/dissectors/packet-ansi_a.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ansi_a.c b/epan/dissectors/packet-ansi_a.c index 93d65c33c3..5b9c72a84a 100644 --- a/epan/dissectors/packet-ansi_a.c +++ b/epan/dissectors/packet-ansi_a.c @@ -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); |