Add a null check to fix Coverity CID 280210. It doesn't look like we'd

run into this in the wild.

svn path=/trunk/; revision=42853
This commit is contained in:
Gerald Combs 2012-05-25 18:25:31 +00:00
parent cc4f738fc0
commit 3e24d3bbce
1 changed files with 3 additions and 0 deletions

View File

@ -536,6 +536,9 @@ static int dissect_jxta_stream(tvbuff_t * tvb, packet_info * pinfo, proto_tree *
tpt_conversation = get_tpt_conversation(pinfo, TRUE);
tpt_conv_data = (jxta_stream_conversation_data *) conversation_get_proto_data(tpt_conversation, proto_jxta);
if (NULL != tpt_conversation) {
return 0;
}
if (0 == tpt_conv_data->initiator_welcome_frame) {
/* The initiator welcome frame */