forked from osmocom/wireshark
RTP Analysis: Fix of use of uninitialized structure
Fixes crash when RTP Analysis was called directly from Telephony menu.
This commit is contained in:
parent
d852c1f38e
commit
e35b6d4859
|
@ -956,6 +956,9 @@ void RtpAnalysisDialog::findRtpStreams()
|
|||
dfilter_t *sfcode;
|
||||
gchar *err_msg;
|
||||
|
||||
memset(&fwd_info, 0, sizeof(rtpstream_info_t));
|
||||
memset(&rev_info, 0, sizeof(rtpstream_info_t));
|
||||
|
||||
/* Try to get the hfid for "rtp.ssrc". */
|
||||
int hfid_rtp_ssrc = proto_registrar_get_id_byname("rtp.ssrc");
|
||||
if (hfid_rtp_ssrc == -1) {
|
||||
|
@ -1056,7 +1059,7 @@ void RtpAnalysisDialog::findRtpStreams()
|
|||
}
|
||||
}
|
||||
|
||||
addRtpStreams(stream_infos);
|
||||
addRtpStreamsPrivate(stream_infos);
|
||||
}
|
||||
|
||||
void RtpAnalysisDialog::showStreamMenu(QPoint pos)
|
||||
|
|
Loading…
Reference in New Issue