FS-10667: [core] Segfault in crypto / srtp #resolve
This commit is contained in:
parent
85348331f3
commit
a88bc6730e
|
@ -913,11 +913,11 @@ static void handle_ice(switch_rtp_t *rtp_session, switch_rtp_ice_t *ice, void *d
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch_mutex_lock(rtp_session->ice_mutex);
|
|
||||||
|
|
||||||
READ_INC(rtp_session);
|
READ_INC(rtp_session);
|
||||||
WRITE_INC(rtp_session);
|
WRITE_INC(rtp_session);
|
||||||
|
|
||||||
|
switch_mutex_lock(rtp_session->ice_mutex);
|
||||||
|
|
||||||
if (!switch_rtp_ready(rtp_session)) {
|
if (!switch_rtp_ready(rtp_session)) {
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue