diff options
author | Olivier Biot <obiot.ethereal@gmail.com> | 2005-09-30 19:29:21 +0000 |
---|---|---|
committer | Olivier Biot <obiot.ethereal@gmail.com> | 2005-09-30 19:29:21 +0000 |
commit | 6f5e84b2d7c179e574bd413faea17b7f0f8d7240 (patch) | |
tree | 0c8c8e105ededac9a5a38e466365882666102fda /epan/dissectors/packet-wsp.c | |
parent | 48c6c3c88e4c321665147284d68bb12c4ca59d2c (diff) |
Fix bug 492 - the MMSE dissector calls add_content_type() defined in WSP, which
uses proto_item_append_string(). The visibility hack must be present, otherwise
a dissector assert is generated within the MMSE dissector.
svn path=/trunk/; revision=16060
Diffstat (limited to 'epan/dissectors/packet-wsp.c')
-rw-r--r-- | epan/dissectors/packet-wsp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-wsp.c b/epan/dissectors/packet-wsp.c index a910692fba..d492e6a3ab 100644 --- a/epan/dissectors/packet-wsp.c +++ b/epan/dissectors/packet-wsp.c @@ -2113,7 +2113,10 @@ add_content_type(proto_tree *tree, tvbuff_t *tvb, guint32 val_start, speed optimization. So we have to disable that one and become "slow" by pretending that the tree is "visible". - */ + + * This code must be present for the MMSE dissector which calls this function. + * Otherwise this causes a dissector_assert [bug 492] (proto_item_append_string() issue). + */ if (tree) PTREE_DATA(tree)->visible=1; |