RTP: Check that we have p_conv_data before accessing it.
Bug: 15346 Change-Id: Ia6ad53423e674832ebb3ccd7c755dd60fecc2cb1 Reviewed-on: https://code.wireshark.org/review/30962 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
08a2a4d473
commit
27187536e6
|
@ -1077,7 +1077,9 @@ srtp_add_address(packet_info *pinfo, const port_type ptype, address *addr, int p
|
|||
* Check if the conversation has data associated with it.
|
||||
*/
|
||||
p_conv_data = (struct _rtp_conversation_info *)conversation_get_proto_data(p_conv, proto_rtp);
|
||||
rtp_conv_info_list = p_conv_data->rtp_sdp_setup_info_list;
|
||||
if (p_conv_data) {
|
||||
rtp_conv_info_list = p_conv_data->rtp_sdp_setup_info_list;
|
||||
}
|
||||
}
|
||||
|
||||
DENDENT();
|
||||
|
|
Loading…
Reference in New Issue