aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb-mailslot.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-smb-mailslot.c')
-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 1fe72fc44e..3dc01cb582 100644
--- a/epan/dissectors/packet-smb-mailslot.c
+++ b/epan/dissectors/packet-smb-mailslot.c
@@ -116,7 +116,7 @@ dissect_mailslot_smb(tvbuff_t *mshdr_tvb, tvbuff_t *setup_tvb,
}
smb_info = pinfo->private_data;
- if (smb_info->sip != NULL && smb_info->sip->extra_info_type == SMB_EI_TRI)
+ if (smb_info != NULL && smb_info->sip != NULL && smb_info->sip->extra_info_type == SMB_EI_TRI)
tri = smb_info->sip->extra_info;
else
tri = NULL;