From 6fe1060cd1a85736dc60de3790eb03ed7f693cd8 Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Sun, 6 Sep 2009 04:26:50 +0000 Subject: Don't pass ep_alloc()'ed strings to col_set_str(). Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3984 svn path=/trunk/; revision=29726 --- epan/dissectors/packet-camel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-camel.c') diff --git a/epan/dissectors/packet-camel.c b/epan/dissectors/packet-camel.c index 6a7cc6b4ec..a3e55cb7d5 100644 --- a/epan/dissectors/packet-camel.c +++ b/epan/dissectors/packet-camel.c @@ -7102,7 +7102,7 @@ dissect_camel_camelPDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, asn if (check_col(actx->pinfo->cinfo, COL_INFO)){ /* Populate the info column with PDU type*/ - col_set_str(actx->pinfo->cinfo, COL_INFO, val_to_str(camel_pdu_type, camel_Component_vals, "Unknown Camel (%u)")); + col_add_fstr(actx->pinfo->cinfo, COL_INFO, val_to_str(camel_pdu_type, camel_Component_vals, "Unknown Camel (%u)")); col_append_str(actx->pinfo->cinfo, COL_INFO, " "); } -- cgit v1.2.3