aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-iapp.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-20 19:35:58 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-20 19:35:58 +0000
commit9ed804afbbc10c08e19fb72797535cf69f01378c (patch)
tree0bc3f2c2b25520d8672dc5a055f3181818019400 /epan/dissectors/packet-iapp.c
parentd0d0f2314bed810351bde6939544d1187dd4c56a (diff)
Fix a format string vulneratility in the AFP dissector identified
by iDEFENSE. Add constant format strings to proto_item_append_text() in a bunch of other dissectors. Copy a comment from proto.c to proto.h. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14713 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-iapp.c')
-rw-r--r--epan/dissectors/packet-iapp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-iapp.c b/epan/dissectors/packet-iapp.c
index 97325c885b..dcf03d9333 100644
--- a/epan/dissectors/packet-iapp.c
+++ b/epan/dissectors/packet-iapp.c
@@ -320,7 +320,7 @@ append_pduval_str(proto_item *ti, int type, int len, tvbuff_t *tvb, int offset,
{
if (!first)
proto_item_append_text(ti, " ");
- proto_item_append_text(ti, strval);
+ proto_item_append_text(ti, "%s", strval);
}
}
proto_item_append_text(ti, ")");