MT#61856 media_socket: bundled RTP handling, guard for `ssrc_in`

if rtp parsing failed and didn't set the `ssrc_in`,
then this would potentially be a NULL dereference later,
when handling bundle rtp.

Change-Id: I0e1f1041ffa3df6c44e313d756423fcdea37f579
pull/2138/head
Donat Zenichev 2 weeks ago
parent d0c224bb83
commit 3662e25020

@ -3005,6 +3005,9 @@ static void media_packet_rtp_in(struct packet_handler_ctx *phc) {
if (unkern)
phc->unkernelize = unkern;
if (!phc->mp.ssrc_in)
return;
if (phc->mp.media->bundle) {
if (phc->media_set)
phc->mp.ssrc_in->media = phc->mp.media;

Loading…
Cancel
Save