aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2005-04-13 21:56:00 +0000
committerGerald Combs <gerald@wireshark.org>2005-04-13 21:56:00 +0000
commit37c30f6c63b36b6bff8e114883ec9e98723ea882 (patch)
treef73b1d60c4bbba056c371a77bac96768370ec784
parentd357c745a6c55c17741d73669a138a175b3c8dd6 (diff)
Check for COL_INFO before trying to modify it.
svn path=/trunk/; revision=14066
-rw-r--r--epan/dissectors/packet-smb-mailslot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-smb-mailslot.c b/epan/dissectors/packet-smb-mailslot.c
index c7711d9aee..b16ecb02c0 100644
--- a/epan/dissectors/packet-smb-mailslot.c
+++ b/epan/dissectors/packet-smb-mailslot.c
@@ -103,7 +103,7 @@ dissect_mailslot_smb(tvbuff_t *mshdr_tvb, tvbuff_t *setup_tvb,
col_set_str(pinfo->cinfo, COL_PROTOCOL, "SMB Mailslot");
}
- if ((tvb==NULL) || (tvb_reported_length(tvb)==0)) {
+ if (check_col (pinfo->cinfo, COL_INFO) && ((tvb==NULL) || (tvb_reported_length(tvb)==0))) {
/* Interim reply */
col_set_str(pinfo->cinfo, COL_INFO, "Interim reply");
return TRUE;